debian-mirror-gitlab/spec/factories/packages/composer/metadata.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
246 B
Ruby
Raw Normal View History

2021-11-18 22:05:49 +05:30
# frozen_string_literal: true
FactoryBot.define do
factory :composer_metadatum, class: 'Packages::Composer::Metadatum' do
package { association(:composer_package) }
target_sha { '123' }
composer_json { { name: 'foo' } }
end
end