Minor update to address Sean McGivern's comment.
More details are available here https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/13436/diffs#note_39115837
This commit is contained in:
parent
3dd2248605
commit
c2766552dc
1 changed files with 4 additions and 4 deletions
|
@ -159,7 +159,7 @@ feature 'Issues > User uses quick actions', js: true do
|
|||
describe 'move the issue to another project' do
|
||||
let(:issue) { create(:issue, project: project) }
|
||||
|
||||
context 'when the project is valid', js: true do
|
||||
context 'when the project is valid' do
|
||||
let(:target_project) { create(:project, :public) }
|
||||
|
||||
before do
|
||||
|
@ -180,7 +180,7 @@ feature 'Issues > User uses quick actions', js: true do
|
|||
end
|
||||
end
|
||||
|
||||
context 'when the project is valid but the user not authorized', js: true do
|
||||
context 'when the project is valid but the user not authorized' do
|
||||
let(:project_unauthorized) {create(:project, :public)}
|
||||
|
||||
before do
|
||||
|
@ -196,7 +196,7 @@ feature 'Issues > User uses quick actions', js: true do
|
|||
end
|
||||
end
|
||||
|
||||
context 'when the project is invalid', js: true do
|
||||
context 'when the project is invalid' do
|
||||
before do
|
||||
sign_in(user)
|
||||
visit project_issue_path(project, issue)
|
||||
|
@ -210,7 +210,7 @@ feature 'Issues > User uses quick actions', js: true do
|
|||
end
|
||||
end
|
||||
|
||||
context 'when the user issues multiple commands', js: true do
|
||||
context 'when the user issues multiple commands' do
|
||||
let(:target_project) { create(:project, :public) }
|
||||
let(:milestone) { create(:milestone, title: '1.0', project: project) }
|
||||
let(:target_milestone) { create(:milestone, title: '1.0', project: target_project) }
|
||||
|
|
Loading…
Reference in a new issue