summaryrefslogtreecommitdiff
path: root/spec/support
diff options
context:
space:
mode:
authorwendy0402 <wendykurniawan92@gmail.com>2017-01-29 07:14:56 +0700
committerwendy0402 <wendykurniawan92@gmail.com>2017-02-12 09:02:03 +0700
commit9a24db121c6eda400ee531bf0253038d9fb28a52 (patch)
tree305ff89f8403d9f2472cd6923330f0f8bc502f8e /spec/support
parentedb8ed36cd5ce315ca45a047bd06ab1dfcf44203 (diff)
downloadgitlab-ce-9a24db121c6eda400ee531bf0253038d9fb28a52.tar.gz
fix issue creation from milestone doesn't assign the milestone
Diffstat (limited to 'spec/support')
-rw-r--r--spec/support/services/issuable_create_service_slash_commands_shared_examples.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/services/issuable_create_service_slash_commands_shared_examples.rb b/spec/support/services/issuable_create_service_slash_commands_shared_examples.rb
index dd54b0addda..c64574679b6 100644
--- a/spec/support/services/issuable_create_service_slash_commands_shared_examples.rb
+++ b/spec/support/services/issuable_create_service_slash_commands_shared_examples.rb
@@ -58,7 +58,7 @@ shared_examples 'new issuable record that supports slash commands' do
let(:example_params) do
{
assignee: create(:user),
- milestone_id: double(:milestone),
+ milestone_id: 1,
description: %(/assign @#{assignee.username}\n/milestone %"#{milestone.name}")
}
end