Skip to content

Commit

Permalink
Fix release token model spec
Browse files Browse the repository at this point in the history
The package in the spec did not had a fixed package name
which led to problems with the VCR cassettes.
  • Loading branch information
krauselukas authored and Dany Marcoux committed Apr 26, 2021
1 parent 93d7fc3 commit 4294b92
Show file tree
Hide file tree
Showing 2 changed files with 80 additions and 80 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/api/spec/models/token/release_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
RSpec.describe Token::Release, vcr: true do
let(:user) { create(:user, login: 'foo') }

let(:project_staging) { create(:project_with_package, name: 'Bar:Staging', maintainer: user) }
let(:project_staging) { create(:project_with_package, name: 'Bar:Staging', package_name: 'bar_package', maintainer: user) }
let(:target_project) { create(:project, name: 'Bar', maintainer: user) }
let(:package) { project_staging.packages.first }

Expand Down

0 comments on commit 4294b92

Please sign in to comment.