Commit c2766552 authored by manolis's avatar manolis

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
parent 3dd22486
...@@ -159,7 +159,7 @@ feature 'Issues > User uses quick actions', js: true do ...@@ -159,7 +159,7 @@ feature 'Issues > User uses quick actions', js: true do
describe 'move the issue to another project' do describe 'move the issue to another project' do
let(:issue) { create(:issue, project: project) } 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) } let(:target_project) { create(:project, :public) }
before do before do
...@@ -180,7 +180,7 @@ feature 'Issues > User uses quick actions', js: true do ...@@ -180,7 +180,7 @@ feature 'Issues > User uses quick actions', js: true do
end end
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)} let(:project_unauthorized) {create(:project, :public)}
before do before do
...@@ -196,7 +196,7 @@ feature 'Issues > User uses quick actions', js: true do ...@@ -196,7 +196,7 @@ feature 'Issues > User uses quick actions', js: true do
end end
end end
context 'when the project is invalid', js: true do context 'when the project is invalid' do
before do before do
sign_in(user) sign_in(user)
visit project_issue_path(project, issue) visit project_issue_path(project, issue)
...@@ -210,7 +210,7 @@ feature 'Issues > User uses quick actions', js: true do ...@@ -210,7 +210,7 @@ feature 'Issues > User uses quick actions', js: true do
end end
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(:target_project) { create(:project, :public) }
let(:milestone) { create(:milestone, title: '1.0', project: project) } let(:milestone) { create(:milestone, title: '1.0', project: project) }
let(:target_milestone) { create(:milestone, title: '1.0', project: target_project) } let(:target_milestone) { create(:milestone, title: '1.0', project: target_project) }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment