summaryrefslogtreecommitdiff
path: root/spec/factories/releases/link.rb
blob: 001deeb71a0c332a504364d887e816e5601009e3 (plain)
1
2
3
4
5
6
7
8
9
10
# frozen_string_literal: true

FactoryBot.define do
  factory :release_link, class: '::Releases::Link' do
    release
    sequence(:name) { |n| "release-18.#{n}.dmg" }
    sequence(:url) { |n| "https://example.com/scrambled-url/app-#{n}.zip" }
    sequence(:filepath) { |n| "/binaries/awesome-app-#{n}" }
  end
end