Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwendy0402 <wendykurniawan92@gmail.com>2017-01-29 03:14:56 +0300
committerwendy0402 <wendykurniawan92@gmail.com>2017-02-12 05:02:03 +0300
commit9a24db121c6eda400ee531bf0253038d9fb28a52 (patch)
tree305ff89f8403d9f2472cd6923330f0f8bc502f8e /spec/support/services
parentedb8ed36cd5ce315ca45a047bd06ab1dfcf44203 (diff)
fix issue creation from milestone doesn't assign the milestone
Diffstat (limited to 'spec/support/services')
-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