diff options
Diffstat (limited to 'spec/lib/gitlab/composer/cache_spec.rb')
-rw-r--r-- | spec/lib/gitlab/composer/cache_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/lib/gitlab/composer/cache_spec.rb b/spec/lib/gitlab/composer/cache_spec.rb index 00318ac14f9..071771960c6 100644 --- a/spec/lib/gitlab/composer/cache_spec.rb +++ b/spec/lib/gitlab/composer/cache_spec.rb @@ -7,6 +7,7 @@ RSpec.describe Gitlab::Composer::Cache do let_it_be(:json) { { 'name' => package_name } } let_it_be(:group) { create(:group) } let_it_be(:project) { create(:project, :custom_repo, files: { 'composer.json' => json.to_json }, group: group) } + let(:branch) { project.repository.find_branch('master') } let(:sha_regex) { /^[A-Fa-f0-9]{64}$/ } |