diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-02-22 13:54:21 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-03-17 07:39:15 +0100 |
commit | 8a02449440b0491a056106d693d502252121740f (patch) | |
tree | 4a69c78c987ca82fcdd4fd1806b0034d526c56a2 /spec/services | |
parent | 8d1b7f950708a0b759026816fcadb6324b29a208 (diff) | |
download | gitlab-ce-8a02449440b0491a056106d693d502252121740f.tar.gz |
Do not show issue move form unless user can move
Diffstat (limited to 'spec/services')
-rw-r--r-- | spec/services/issues/move_service_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/issues/move_service_spec.rb b/spec/services/issues/move_service_spec.rb index d8357f89172..6fda8bc6716 100644 --- a/spec/services/issues/move_service_spec.rb +++ b/spec/services/issues/move_service_spec.rb @@ -64,7 +64,7 @@ describe Issues::MoveService, services: true do end before do - note_params = { noteable: old_issue, project: old_project, author: user} + note_params = { noteable: old_issue, project: old_project, author: user } create(:system_note, note_params.merge(note: note_contents.first)) create(:note, note_params.merge(note: note_contents.second)) create(:system_note, note_params.merge(note: note_contents.third)) |