Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/requests/projects/incident_management/timeline_events_spec.rb')
-rw-r--r--spec/requests/projects/incident_management/timeline_events_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/requests/projects/incident_management/timeline_events_spec.rb b/spec/requests/projects/incident_management/timeline_events_spec.rb
index 22a1f654ee2..b827ec07ae1 100644
--- a/spec/requests/projects/incident_management/timeline_events_spec.rb
+++ b/spec/requests/projects/incident_management/timeline_events_spec.rb
@@ -34,7 +34,7 @@ RSpec.describe 'Timeline Events', feature_category: :incident_management do
it 'renders JSON in a correct format' do
post preview_markdown_project_incident_management_timeline_events_path(project, format: :json),
- params: { text: timeline_text }
+ params: { text: timeline_text }
expect(response).to have_gitlab_http_status(:ok)
expect(json_response).to eq({
@@ -51,7 +51,7 @@ RSpec.describe 'Timeline Events', feature_category: :incident_management do
context 'when not authorized' do
it 'returns 302' do
post preview_markdown_project_incident_management_timeline_events_path(project, format: :json),
- params: { text: timeline_text }
+ params: { text: timeline_text }
expect(response).to have_gitlab_http_status(:found)
end