Permalink
Browse files

Fix build. We changed the behavior of inspect method.

  • Loading branch information...
kennyj committed Jul 7, 2012
1 parent d4f5978 commit bfd30351bb61f38b22be38d3e83674301034006b
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/test/cases/associations_test.rb
@@ -183,7 +183,7 @@ def test_save_on_parent_does_not_load_target
def test_inspect_does_not_reload_a_not_yet_loaded_target
andreas = Developer.new :name => 'Andreas', :log => 'new developer added'
assert !andreas.audit_logs.loaded?
- assert_match(/message: "new developer added"/, andreas.audit_logs.inspect)
+ assert_equal("#<ActiveRecord::Associations::CollectionProxy []>", andreas.audit_logs.inspect)
end
def test_save_on_parent_saves_children

0 comments on commit bfd3035

Please sign in to comment.