]> git.openstreetmap.org Git - rails.git/blobdiff - test/factories/languages.rb
Convert the languages fixtures to a factory
[rails.git] / test / factories / languages.rb
diff --git a/test/factories/languages.rb b/test/factories/languages.rb
new file mode 100644 (file)
index 0000000..0887c91
--- /dev/null
@@ -0,0 +1,7 @@
+FactoryGirl.define do
+  factory :language do
+    code "en"
+    english_name "English"
+    native_name "English"
+  end
+end