summaryrefslogtreecommitdiff
path: root/test/factories
diff options
context:
space:
mode:
authorPeter Kozak <spag@golwen.net>2013-05-31 14:34:47 +0200
committerPeter Kozak <spag@golwen.net>2013-05-31 14:34:47 +0200
commit71216fcf617cf522a1d1a17ec5baba5edd2c542d (patch)
tree2c6bc72d2ef4d2a17614318939b236b82ce72dff /test/factories
parente6885147f4ca9c4c56ae4542196b93a2db995898 (diff)
update geo_ip countries tests
Diffstat (limited to 'test/factories')
-rw-r--r--test/factories/geo_ip_countries.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/factories/geo_ip_countries.rb b/test/factories/geo_ip_countries.rb
new file mode 100644
index 0000000..b6a690a
--- /dev/null
+++ b/test/factories/geo_ip_countries.rb
@@ -0,0 +1,13 @@
+# Read about factories at https://github.com/thoughtbot/factory_girl
+
+FactoryGirl.define do
+ factory :geo_ip_country do
+ from "MyString"
+ to "MyString"
+ n_from 1
+ n_to 1
+ country_id 1
+ country_code "MyString"
+ country_name "MyString"
+ end
+end