Skip to content
Snippets Groups Projects
Verified Commit e6968964 authored by Rémy Coutable's avatar Rémy Coutable
Browse files

Fix status code expectation


Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 0890aeb6
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -82,7 +82,7 @@ describe Projects::LabelsController do
it 'creates labels' do
post :generate, namespace_id: project.namespace.to_param, project_id: project.to_param
 
expect(response.code).to eq(302)
expect(response).to have_http_status(302)
end
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment