add controller specs

This commit is contained in:
Karol
2019-12-06 17:25:00 +01:00
parent 4a77536c5f
commit 5625fa63b0
11 changed files with 326 additions and 7 deletions

View File

@ -0,0 +1,8 @@
FactoryBot.define do
factory :codeharbor_link do
user { build(:teacher) }
push_url { 'http://push.url' }
check_uuid_url { 'http://check-uuid.url' }
sequence(:api_key) { |n| "api_key#{n}" }
end
end