add admin suppliers controller specs

This commit is contained in:
2012-12-05 01:29:56 +01:00
parent fe7c061d37
commit e1e1ad3af1
4 changed files with 142 additions and 46 deletions
+1
View File
@@ -1,5 +1,6 @@
FactoryGirl.define do
factory :supplier do
sequence(:name){|i| "Supplier #{i}"}
password 'secret'
end
end