aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/associations
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2014-01-28 08:16:20 -0200
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2014-01-28 08:16:32 -0200
commitb9cd5a29dd4c6142b19c861fbf1a67452320b3dd (patch)
tree48b982a53198823d2ed16f2f0c02320e9eb3d5c5 /activerecord/test/cases/associations
parente09c4028b3ad2ce5a0a9dca3b7eb62f49310e63c (diff)
downloadrails-b9cd5a29dd4c6142b19c861fbf1a67452320b3dd.tar.gz
rails-b9cd5a29dd4c6142b19c861fbf1a67452320b3dd.tar.bz2
rails-b9cd5a29dd4c6142b19c861fbf1a67452320b3dd.zip
Fix indent on test case [ci skip]
Diffstat (limited to 'activerecord/test/cases/associations')
-rw-r--r--activerecord/test/cases/associations/has_many_associations_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/cases/associations/has_many_associations_test.rb b/activerecord/test/cases/associations/has_many_associations_test.rb
index 9fdace8ac1..cf1e50890e 100644
--- a/activerecord/test/cases/associations/has_many_associations_test.rb
+++ b/activerecord/test/cases/associations/has_many_associations_test.rb
@@ -487,9 +487,9 @@ class HasManyAssociationsTest < ActiveRecord::TestCase
assert_equal [1], posts(:welcome).comments.select { |c| c.id == 1 }.map(&:id)
end
- def test_select_without_foreign_key
+ def test_select_without_foreign_key
assert_equal companies(:first_firm).accounts.first.credit_limit, companies(:first_firm).accounts.select(:credit_limit).first.credit_limit
- end
+ end
def test_adding
force_signal37_to_load_all_clients_of_firm