aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
diff options
context:
space:
mode:
authorEmilio Tagua <miloops@gmail.com>2009-08-27 20:00:14 -0300
committerEmilio Tagua <miloops@gmail.com>2009-08-27 20:00:14 -0300
commitf2c0725d79e29b02e30e7a4827851acc4a766730 (patch)
treee1965017c90c55511a80cebe15f8eb21485aaefe /activerecord/test
parent7cce95b25ace33e04526d4490e487a080c1f9b96 (diff)
downloadrails-f2c0725d79e29b02e30e7a4827851acc4a766730.tar.gz
rails-f2c0725d79e29b02e30e7a4827851acc4a766730.tar.bz2
rails-f2c0725d79e29b02e30e7a4827851acc4a766730.zip
Revert "Add readonly support for relations."
This reverts commit 7cce95b25ace33e04526d4490e487a080c1f9b96.
Diffstat (limited to 'activerecord/test')
-rw-r--r--activerecord/test/cases/relations_test.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/activerecord/test/cases/relations_test.rb b/activerecord/test/cases/relations_test.rb
index 655eb3314d..6a39aa6e40 100644
--- a/activerecord/test/cases/relations_test.rb
+++ b/activerecord/test/cases/relations_test.rb
@@ -79,11 +79,5 @@ class RelationTest < ActiveRecord::TestCase
assert relation.respond_to?(method)
end
end
-
- def test_find_with_readonly_option
- Developer.all.each { |d| assert !d.readonly? }
- Developer.all.readonly.each { |d| assert d.readonly? }
- Developer.all(:readonly => true).each { |d| assert d.readonly? }
- end
end