Convert client applications fixtures into a factory

Closes #1415
This commit is contained in:
Andy Allan 2017-01-26 18:03:13 +00:00 committed by Tom Hughes
parent e1cac818b1
commit 8a6e8ae128
9 changed files with 38 additions and 81 deletions

View file

@ -0,0 +1,6 @@
FactoryGirl.define do
factory :client_application do
sequence(:name) { |n| "Client application #{n}" }
sequence(:url) { |n| "http://example.com/app/#{n}" }
end
end