diff options
author | Peter Kozak <spag@golwen.net> | 2013-05-31 14:34:47 +0200 |
---|---|---|
committer | Peter Kozak <spag@golwen.net> | 2013-05-31 14:34:47 +0200 |
commit | 71216fcf617cf522a1d1a17ec5baba5edd2c542d (patch) | |
tree | 2c6bc72d2ef4d2a17614318939b236b82ce72dff | |
parent | e6885147f4ca9c4c56ae4542196b93a2db995898 (diff) |
update geo_ip countries tests
-rw-r--r-- | test/factories/geo_ip_countries.rb | 13 | ||||
-rw-r--r-- | test/unit/geo_ip_country_test.rb | 7 |
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 |