Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Made many-to-many specs pending

  • Loading branch information...
commit 7656ef6db4090e48dfb132327635582ab691422a 1 parent 8c24e7c
Andy Kent authored Dan Kubb committed

Showing 1 changed file with 12 additions and 0 deletions. Show diff stats Hide diff stats

  1. 12  spec/unit/associations_spec.rb
12  spec/unit/associations_spec.rb
@@ -89,6 +89,9 @@ class Manufacturer
89 89
       end
90 90
       
91 91
       it "should create a many-to-many relationship if references are circular" do
  92
+        # ================
  93
+          pending
  94
+        # ================
92 95
         Manufacturer.should_receive(:many_to_many).
93 96
           with(:vehicles,{}).
94 97
           and_return(@relationship)
@@ -99,6 +102,15 @@ class Vehicle
99 102
           has n, :manufacturers
100 103
         end
101 104
       end
  105
+      
  106
+      it "should create many-to-many associations through a join model when a :through option is specified" do
  107
+        # ================
  108
+          pending
  109
+        # ================
  110
+        class Vehicle
  111
+          has n, :suppliers, :through => :manufacturers
  112
+        end
  113
+      end
102 114
     end
103 115
   end
104 116
   

0 notes on commit 7656ef6

Please sign in to comment.
Something went wrong with that request. Please try again.