diff options
Diffstat (limited to 'test/factories/manufacturers.rb')
-rw-r--r-- | test/factories/manufacturers.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/factories/manufacturers.rb b/test/factories/manufacturers.rb new file mode 100644 index 0000000..f091dd2 --- /dev/null +++ b/test/factories/manufacturers.rb @@ -0,0 +1,6 @@ +# Read about factories at http://github.com/thoughtbot/factory_girl + +Factory.define :manufacturer do |f| + f.sequence(:name) { |n| "#{n}. manufacturer" } + f.sequence(:ieee_name) { |n| "#{n}. ieee" } +end
\ No newline at end of file |