]> git.openstreetmap.org Git - rails.git/blob - test/factories/client_applications.rb
use a controller method to handle cancan denials
[rails.git] / test / factories / client_applications.rb
1 FactoryBot.define do
2   factory :client_application do
3     sequence(:name) { |n| "Client application #{n}" }
4     sequence(:url) { |n| "http://example.com/app/#{n}" }
5
6     user
7   end
8 end