summaryrefslogtreecommitdiff
path: root/spec/services
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-02-22 13:54:21 +0100
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2016-03-17 07:39:15 +0100
commit8a02449440b0491a056106d693d502252121740f (patch)
tree4a69c78c987ca82fcdd4fd1806b0034d526c56a2 /spec/services
parent8d1b7f950708a0b759026816fcadb6324b29a208 (diff)
downloadgitlab-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.rb2
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))