summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/factories/geo_ip_countries.rb13
-rw-r--r--test/unit/geo_ip_country_test.rb7
2 files changed, 20 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
diff --git a/test/unit/geo_ip_country_test.rb b/test/unit/geo_ip_country_test.rb
new file mode 100644
index 0000000..05d7893
--- /dev/null
+++ b/test/unit/geo_ip_country_test.rb
@@ -0,0 +1,7 @@
+require 'test_helper'
+
+class GeoIpCountryTest < ActiveSupport::TestCase
+ # test "the truth" do
+ # assert true
+ # end
+end