Commit 6be22dbb authored by Grzegorz Bizon's avatar Grzegorz Bizon

Fix specs for deprecated CI build status badge

parent 45f318bf
......@@ -9,7 +9,7 @@ describe Ci::ProjectsController do
# Specs for *deprecated* CI badge
#
describe '#badge' do
context 'user not signed in'
context 'user not signed in' do
before { get(:badge, id: ci_id) }
context 'project has no ci_id reference' do
......@@ -35,6 +35,7 @@ describe Ci::ProjectsController do
expect(response.status).to eq 302
end
end
end
context 'user signed in' do
let(:user) { create(:user) }
......
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