Skip to content

Commit

Permalink
Remove unnecessary attribute from spec.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabe Berke-Williams committed Mar 23, 2012
1 parent a4cb684 commit 0746b79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/shoulda/active_record/association_matcher_spec.rb
Expand Up @@ -251,7 +251,7 @@
end

it "should reject an association with a nonstandard reverse foreign key, if :inverse_of is not correct" do
define_model :child, :mother_id => :integer, :adopted => :boolean do
define_model :child, :mother_id => :integer do
belongs_to :mother, :inverse_of => :children, :class_name => :Parent
end
define_model :parent do
Expand Down

0 comments on commit 0746b79

Please sign in to comment.