Permalink
Browse files

Made many-to-many specs pending

  • Loading branch information...
1 parent 8c24e7c commit 7656ef6db4090e48dfb132327635582ab691422a @andykent andykent committed with Dan Kubb Apr 20, 2008
Showing with 12 additions and 0 deletions.
  1. +12 −0 spec/unit/associations_spec.rb
View
12 spec/unit/associations_spec.rb
@@ -89,6 +89,9 @@ class Manufacturer
end
it "should create a many-to-many relationship if references are circular" do
+ # ================
+ pending
+ # ================
Manufacturer.should_receive(:many_to_many).
with(:vehicles,{}).
and_return(@relationship)
@@ -99,6 +102,15 @@ class Vehicle
has n, :manufacturers
end
end
+
+ it "should create many-to-many associations through a join model when a :through option is specified" do
+ # ================
+ pending
+ # ================
+ class Vehicle
+ has n, :suppliers, :through => :manufacturers
+ end
+ end
end
end

0 comments on commit 7656ef6

Please sign in to comment.