Permalink
Browse files

remove needless and confusing mock model detail

  • Loading branch information...
1 parent 5c173bf commit a4cb684231db4a30f2be95460c10ddbc1b52ede2 @bloy bloy committed Mar 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/shoulda/active_record/association_matcher_spec.rb
@@ -241,7 +241,7 @@
end
it "should accept an association with a nonstandard reverse foreign key, using :inverse_of" do
- define_model :child, :ancestor_id => :integer, :adopted => :boolean do
+ define_model :child, :ancestor_id => :integer do
belongs_to :ancestor, :inverse_of => :children, :class_name => :Parent
end
define_model :parent do

0 comments on commit a4cb684

Please sign in to comment.