diff options
Diffstat (limited to 'spec/features/projects/labels/user_sees_links_to_issuables.rb')
-rw-r--r-- | spec/features/projects/labels/user_sees_links_to_issuables.rb | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/spec/features/projects/labels/user_sees_links_to_issuables.rb b/spec/features/projects/labels/user_sees_links_to_issuables.rb index aa56fd7f74e..c404fc8d66f 100644 --- a/spec/features/projects/labels/user_sees_links_to_issuables.rb +++ b/spec/features/projects/labels/user_sees_links_to_issuables.rb @@ -1,6 +1,6 @@ require 'spec_helper' -feature 'Projects > Labels > User sees links to issuables' do +describe 'Projects > Labels > User sees links to issuables' do set(:user) { create(:user) } before do @@ -16,7 +16,7 @@ feature 'Projects > Labels > User sees links to issuables' do context 'when merge requests and issues are enabled for the project' do let(:project) { create(:project, :public) } - scenario 'shows links to MRs and issues' do + it 'shows links to MRs and issues' do expect(page).to have_link('view merge requests') expect(page).to have_link('view open issues') end @@ -25,7 +25,7 @@ feature 'Projects > Labels > User sees links to issuables' do context 'when issues are disabled for the project' do let(:project) { create(:project, :public, issues_access_level: ProjectFeature::DISABLED) } - scenario 'shows links to MRs but not to issues' do + it 'shows links to MRs but not to issues' do expect(page).to have_link('view merge requests') expect(page).not_to have_link('view open issues') end @@ -34,7 +34,7 @@ feature 'Projects > Labels > User sees links to issuables' do context 'when merge requests are disabled for the project' do let(:project) { create(:project, :public, merge_requests_access_level: ProjectFeature::DISABLED) } - scenario 'shows links to issues but not to MRs' do + it 'shows links to issues but not to MRs' do expect(page).not_to have_link('view merge requests') expect(page).to have_link('view open issues') end @@ -48,7 +48,7 @@ feature 'Projects > Labels > User sees links to issuables' do context 'when merge requests and issues are enabled for the project' do let(:project) { create(:project, :public, namespace: group) } - scenario 'shows links to MRs and issues' do + it 'shows links to MRs and issues' do expect(page).to have_link('view merge requests') expect(page).to have_link('view open issues') end @@ -57,7 +57,7 @@ feature 'Projects > Labels > User sees links to issuables' do context 'when issues are disabled for the project' do let(:project) { create(:project, :public, namespace: group, issues_access_level: ProjectFeature::DISABLED) } - scenario 'shows links to MRs and issues' do + it 'shows links to MRs and issues' do expect(page).to have_link('view merge requests') expect(page).to have_link('view open issues') end @@ -66,7 +66,7 @@ feature 'Projects > Labels > User sees links to issuables' do context 'when merge requests are disabled for the project' do let(:project) { create(:project, :public, namespace: group, merge_requests_access_level: ProjectFeature::DISABLED) } - scenario 'shows links to MRs and issues' do + it 'shows links to MRs and issues' do expect(page).to have_link('view merge requests') expect(page).to have_link('view open issues') end |