Remove CE from spec example descriptions

They are confusing.
This commit is contained in:
Toon Claes 2017-07-05 22:09:15 +02:00 committed by Toon Claes
parent 49430c47d4
commit 8a47c720e3
2 changed files with 4 additions and 4 deletions

View File

@ -23,7 +23,7 @@ describe 'New/edit issue', :feature, :js do
visit new_project_issue_path(project) visit new_project_issue_path(project)
end end
describe 'shorten users API pagination limit (CE)' do describe 'shorten users API pagination limit' do
before do before do
# Using `allow_any_instance_of`/`and_wrap_original`, `original` would # Using `allow_any_instance_of`/`and_wrap_original`, `original` would
# somehow refer to the very block we defined to _wrap_ that method, instead of # somehow refer to the very block we defined to _wrap_ that method, instead of
@ -63,7 +63,7 @@ describe 'New/edit issue', :feature, :js do
end end
end end
describe 'single assignee (CE)' do describe 'single assignee' do
before do before do
click_button 'Unassigned' click_button 'Unassigned'

View File

@ -772,7 +772,7 @@ describe API::Issues do
end end
end end
context 'CE restrictions' do context 'single assignee restrictions' do
it 'creates a new project issue with no more than one assignee' do it 'creates a new project issue with no more than one assignee' do
post api("/projects/#{project.id}/issues", user), post api("/projects/#{project.id}/issues", user),
title: 'new issue', assignee_ids: [user2.id, guest.id] title: 'new issue', assignee_ids: [user2.id, guest.id]
@ -1123,7 +1123,7 @@ describe API::Issues do
expect(json_response['assignees'].first['name']).to eq(user2.name) expect(json_response['assignees'].first['name']).to eq(user2.name)
end end
context 'CE restrictions' do context 'single assignee restrictions' do
it 'updates an issue with several assignees but only one has been applied' do it 'updates an issue with several assignees but only one has been applied' do
put api("/projects/#{project.id}/issues/#{issue.iid}", user), put api("/projects/#{project.id}/issues/#{issue.iid}", user),
assignee_ids: [user2.id, guest.id] assignee_ids: [user2.id, guest.id]