aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/nested_attributes_test.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-09-28 10:26:32 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2010-09-28 10:26:32 -0700
commit75e52df0e8b6a229a696a28423f1a40c9837ba76 (patch)
tree3490dd6c79b5df183fa7bcc3db2f657664cdb1a0 /activerecord/test/cases/nested_attributes_test.rb
parent8b8730e1390963a8bb3a231ed1a324862d3dc4cf (diff)
downloadrails-75e52df0e8b6a229a696a28423f1a40c9837ba76.tar.gz
rails-75e52df0e8b6a229a696a28423f1a40c9837ba76.tar.bz2
rails-75e52df0e8b6a229a696a28423f1a40c9837ba76.zip
fixing indentation warning
Diffstat (limited to 'activerecord/test/cases/nested_attributes_test.rb')
-rw-r--r--activerecord/test/cases/nested_attributes_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/nested_attributes_test.rb b/activerecord/test/cases/nested_attributes_test.rb
index 54429bf80b..8382ca048b 100644
--- a/activerecord/test/cases/nested_attributes_test.rb
+++ b/activerecord/test/cases/nested_attributes_test.rb
@@ -131,7 +131,7 @@ class TestNestedAttributesInGeneral < ActiveRecord::TestCase
assert_equal 'photography', interest.reload.topic
end
- def test_has_many_association_updating_a_single_record
+ def test_has_many_association_updating_a_single_record
Man.accepts_nested_attributes_for(:interests)
man = Man.create(:name => 'John')
interest = man.interests.create(:topic => 'photography')