aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2011-02-16 11:08:01 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2011-02-16 11:08:01 -0800
commit2e2e58a6a30d013f062157be6ae40617703adc8b (patch)
tree2855b58ddbbfff64210fcb8fb690ec884f62be0d /activerecord/test
parent9b188c5bfe04349aa8ee0eeb2b53456601b8c3fc (diff)
downloadrails-2e2e58a6a30d013f062157be6ae40617703adc8b.tar.gz
rails-2e2e58a6a30d013f062157be6ae40617703adc8b.tar.bz2
rails-2e2e58a6a30d013f062157be6ae40617703adc8b.zip
fixing whitespace problems
Diffstat (limited to 'activerecord/test')
-rw-r--r--activerecord/test/cases/relations_test.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/activerecord/test/cases/relations_test.rb b/activerecord/test/cases/relations_test.rb
index 843c3d2d96..1e84f5f92d 100644
--- a/activerecord/test/cases/relations_test.rb
+++ b/activerecord/test/cases/relations_test.rb
@@ -467,7 +467,7 @@ class RelationTest < ActiveRecord::TestCase
authors = Author.find_by_id([author])
assert_equal author, authors
end
-
+
def test_find_all_using_where_twice_should_or_the_relation
david = authors(:david)
relation = Author.unscoped
@@ -488,7 +488,7 @@ class RelationTest < ActiveRecord::TestCase
end
assert_equal [david], relation.all
end
-
+
def test_find_all_using_where_with_relation
david = authors(:david)
# switching the lines below would succeed in current rails
@@ -507,7 +507,7 @@ class RelationTest < ActiveRecord::TestCase
}
end
-
+
def test_find_all_using_where_with_relation_with_select_to_build_subquery
david = authors(:david)
assert_queries(1) {