From b80bd744ad873f6fc43018bc4bfb90677de167bd Mon Sep 17 00:00:00 2001 From: Stefan Wintermeyer Date: Mon, 17 Dec 2012 12:01:45 +0100 Subject: Start of GS5. --- test/factories/countries.rb | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/factories/countries.rb (limited to 'test/factories/countries.rb') diff --git a/test/factories/countries.rb b/test/factories/countries.rb new file mode 100644 index 0000000..cc3fc88 --- /dev/null +++ b/test/factories/countries.rb @@ -0,0 +1,8 @@ +# Read about factories at http://github.com/thoughtbot/factory_girl + +Factory.define :country do |f| + f.sequence(:name) { |n| "Country #{n}" } + f.sequence(:country_code) { |n| "#{n}" } + f.sequence(:international_call_prefix) { |n| "#{n}" } + f.sequence(:trunk_prefix) { |n| "#{n}" } +end \ No newline at end of file -- cgit v1.2.3