Skip to content

Commit

Permalink
Fixes #rebuild trigger controller spec failures
Browse files Browse the repository at this point in the history
  • Loading branch information
danidoni committed Apr 26, 2021
1 parent 94dab26 commit 5916968
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/api/spec/controllers/trigger_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,9 @@

describe '#rebuild' do
context 'authentication token is invalid' do
let!(:token) { nil }

before do
allow(::TriggerControllerService::TokenExtractor).to receive(:new) {
-> {}
}
post :create, params: { format: :xml }
end

Expand Down

0 comments on commit 5916968

Please sign in to comment.