diff options
author | Vinnie Okada <vokada@mrvinn.com> | 2014-10-07 04:19:12 +0400 |
---|---|---|
committer | Vinnie Okada <vokada@mrvinn.com> | 2014-10-07 04:19:12 +0400 |
commit | 40263a06c196e0c99cc13d187228bd62bbcf4a6a (patch) | |
tree | 37bce0ef915874dfe215ba78e2fe4964b879571e /features/steps/project/merge_requests.rb | |
parent | 31bc42de57b3cfd7bf068df06d15372307b8661b (diff) |
Refactor task list tests and coffeescript
Diffstat (limited to 'features/steps/project/merge_requests.rb')
-rw-r--r-- | features/steps/project/merge_requests.rb | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/features/steps/project/merge_requests.rb b/features/steps/project/merge_requests.rb index 3e19616c166..36b7dd9e0ad 100644 --- a/features/steps/project/merge_requests.rb +++ b/features/steps/project/merge_requests.rb @@ -98,17 +98,7 @@ class Spinach::Features::ProjectMergeRequests < Spinach::FeatureSteps end step 'project "Shop" has "MR-task-open" open MR with task markdown' do - desc_text = <<EOT.gsub(/^ {6}/, '') - * [ ] Task 1 - * [x] Task 2 -EOT - create(:merge_request, - title: 'MR-task-open', - source_project: project, - target_project: project, - author: project.users.first, - description: desc_text - ) + create_taskable(:merge_request, 'MR-task-open') end step 'I switch to the diff tab' do |