Convert the duplicate_tags node controller test to use factories.
[rails.git] / test / factories / node_tags.rb
index 267309e90f8e43012cb78af12ccb830a075be40c..0a10fc65d6565a64b41fe52a0d443268b3e7f64c 100644 (file)
@@ -3,7 +3,6 @@ FactoryGirl.define do
     sequence(:k) { |n| "Key #{n}" }
     sequence(:v) { |n| "Value #{n}" }
 
-    # Fixme requires node factory
-    node_id 1
+    node
   end
 end