mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
fixing indentation warning
This commit is contained in:
parent
8b8730e139
commit
75e52df0e8
1 changed files with 1 additions and 1 deletions
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue