]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/acls.rb
Convert ACL fixture to a factory, and add some tests
[rails.git] / test / factories / acls.rb
diff --git a/test/factories/acls.rb b/test/factories/acls.rb
new file mode 100644 (file)
index 0000000..3f91df3
--- /dev/null
@@ -0,0 +1,5 @@
+FactoryGirl.define do
+  factory :acl do
+    sequence(:k) { |n| "Key #{n}" }
+  end
+end