summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-03-01 14:42:52 +0100
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-03-01 14:42:52 +0100
commit6be22dbbe3b1f7bc8c396a98a83f5c5b51a4bbca (patch)
treec7ce4d3990862a7cd9284c0420f1c4143ff8c164
parent45f318bf45af4569354389f12bf9e44979f6744e (diff)
downloadgitlab-ce-6be22dbbe3b1f7bc8c396a98a83f5c5b51a4bbca.tar.gz
Fix specs for deprecated CI build status badge
-rw-r--r--spec/controllers/ci/projects_controller_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/controllers/ci/projects_controller_spec.rb b/spec/controllers/ci/projects_controller_spec.rb
index e048c5a51ed..569ed7c0f6b 100644
--- a/spec/controllers/ci/projects_controller_spec.rb
+++ b/spec/controllers/ci/projects_controller_spec.rb
@@ -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) }