Skip to content

Commit

Permalink
Adapt trigger_workflow_controller_spec to consider Gitea support
Browse files Browse the repository at this point in the history
  • Loading branch information
krauselukas authored and eduardoj committed Sep 27, 2022
1 parent ba050fa commit e62ae6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/api/spec/controllers/trigger_workflow_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -285,8 +285,8 @@
it { expect(response.content_type).to eq('application/xml; charset=utf-8') }

it 'returns an error message in the response body' do
expect(response.body).to include('Only GitHub and GitLab are supported. ' \
'Could not find the required HTTP request headers X-GitHub-Event or X-Gitlab-Event')
expect(response.body).to include('Only GitHub, GitLab and Gitea are supported. ' \
'Could not find the required HTTP request headers X-GitHub-Event, X-Gitlab-Event or X-Gitea-Event')
end
end
end
Expand Down

0 comments on commit e62ae6e

Please sign in to comment.