diff options
author | Vinnie Okada <vokada@mrvinn.com> | 2014-10-06 10:59:03 +0400 |
---|---|---|
committer | Vinnie Okada <vokada@mrvinn.com> | 2014-10-06 11:07:03 +0400 |
commit | 31bc42de57b3cfd7bf068df06d15372307b8661b (patch) | |
tree | ab39133233b504da60674a61c3b25a1a80b0a753 /features/steps/project/merge_requests.rb | |
parent | 3a3b2eb33e2ca41153a960b89ae7796b43aa93e8 (diff) |
Add Spinach tests for task lists
Diffstat (limited to 'features/steps/project/merge_requests.rb')
-rw-r--r-- | features/steps/project/merge_requests.rb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/features/steps/project/merge_requests.rb b/features/steps/project/merge_requests.rb index c101c696253..3e19616c166 100644 --- a/features/steps/project/merge_requests.rb +++ b/features/steps/project/merge_requests.rb @@ -97,6 +97,20 @@ class Spinach::Features::ProjectMergeRequests < Spinach::FeatureSteps author: project.users.first) 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 + ) + end + step 'I switch to the diff tab' do visit diffs_project_merge_request_path(project, merge_request) end |