diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-03-01 14:42:52 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-03-01 14:42:52 +0100 |
commit | 6be22dbbe3b1f7bc8c396a98a83f5c5b51a4bbca (patch) | |
tree | c7ce4d3990862a7cd9284c0420f1c4143ff8c164 /spec/controllers | |
parent | 45f318bf45af4569354389f12bf9e44979f6744e (diff) | |
download | gitlab-ce-6be22dbbe3b1f7bc8c396a98a83f5c5b51a4bbca.tar.gz |
Fix specs for deprecated CI build status badge
Diffstat (limited to 'spec/controllers')
-rw-r--r-- | spec/controllers/ci/projects_controller_spec.rb | 3 |
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) } |