Permalink
Browse files

build fix, fall back to old hash syntax

  • Loading branch information...
1 parent b23e0d6 commit cacfa8e3fb2cff59956a39a2640c8e3ade4b54c6 @senny senny committed Jun 26, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 activerecord/test/cases/autosave_association_test.rb
@@ -342,9 +342,9 @@ def test_store_association_with_a_polymorphic_relationship
end
def test_association_is_not_overwitten_on_autosave
- firm_1 = Firm.create!(name: 'Apple')
- firm_2 = Firm.create!(name: 'Microsoft')
- client = Client.create!(firm: firm_1, name: 'Business')
+ firm_1 = Firm.create!(:name => 'Apple')
+ firm_2 = Firm.create!(:name => 'Microsoft')
+ client = Client.create!(:firm => firm_1, :name => 'Business')
assert_equal firm_1.id, client.client_of
client.client_of = firm_2.id

0 comments on commit cacfa8e

Please sign in to comment.