Commit e6968964 authored by Rémy Coutable's avatar Rémy Coutable

Fix status code expectation

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 0890aeb6
......@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment