summaryrefslogtreecommitdiff
path: root/features/steps
diff options
context:
space:
mode:
authorPorus Patell <ppatell@perforce.com>2014-08-19 18:43:02 -0700
committerPorus Patell <ppatell@perforce.com>2014-08-25 12:20:08 -0700
commiteeebf7dae61676f79a482930174d37e3afb79dd6 (patch)
treeded43046e61da3b73fb70ce92202ef2a4963bc27 /features/steps
parent6136dd5a751b22cf88609840a89a40ffbc0b9145 (diff)
downloadgitlab-ce-eeebf7dae61676f79a482930174d37e3afb79dd6.tar.gz
Fixing requested changes for 'search issues by description' tests
Diffstat (limited to 'features/steps')
-rw-r--r--features/steps/project/issues.rb37
1 files changed, 18 insertions, 19 deletions
diff --git a/features/steps/project/issues.rb b/features/steps/project/issues.rb
index be42bfcc024..ab2d7cee2e3 100644
--- a/features/steps/project/issues.rb
+++ b/features/steps/project/issues.rb
@@ -188,38 +188,37 @@ class ProjectIssues < Spinach::FeatureSteps
page.should have_content("```\nCommand [1]: /usr/local/bin/git , see [text](doc/text)\n```")
end
- step 'project "Shop" has issue "Bugfix1" with description: "Description for issue1"' do
- project = Project.find_by(name: "Shop")
- issue = create(:issue, title: "Bugfix1", description: "Description for issue1", project: project)
+ step 'project \'Shop\' has issue \'Bugfix1\' with description: \'Description for issue1\'' do
+ project = Project.find_by(name: 'Shop')
+ issue = create(:issue, title: 'Bugfix1', description: 'Description for issue1', project: project)
end
- step 'project "Shop" has issue "Feature1" with description: "Feature submitted for issue1"' do
- project = Project.find_by(name: "Shop")
- issue = create(:issue, title: "Feature1", description: "Feature submitted for issue1", project: project)
+ step 'project \'Shop\' has issue \'Feature1\' with description: \'Feature submitted for issue1\'' do
+ project = Project.find_by(name: 'Shop')
+ issue = create(:issue, title: 'Feature1', description: 'Feature submitted for issue1', project: project)
end
- step 'I fill in issue search with "Description for issue1"' do
- fill_in 'issue_search', with: "Description for issue"
+ step 'I fill in issue search with \'Description for issue1\'' do
+ fill_in 'issue_search', with: 'Description for issue'
end
- step 'I fill in issue search with "issue1"' do
- fill_in 'issue_search', with: "issue1"
+ step 'I fill in issue search with \'issue1\'' do
+ fill_in 'issue_search', with: 'issue1'
end
- step 'I fill in issue search with "Rock and roll"' do
- fill_in 'issue_search', with: "Description for issue"
+ step 'I fill in issue search with \'Rock and roll\'' do
+ fill_in 'issue_search', with: 'Description for issue'
end
- step 'I should see "Bugfix1" in issues' do
- page.should have_content "Bugfix1"
+ step 'I should see \'Bugfix1\' in issues' do
+ page.should have_content 'Bugfix1'
end
- step 'I should see "Feature1" in issues' do
- page.should have_content "Feature1"
+ step 'I should see \'Feature1\' in issues' do
+ page.should have_content 'Feature1'
end
-
- step 'I should not see "Bugfix1" in issues' do
- page.should_not have_content "Bugfix1"
+ step 'I should not see \'Bugfix1\' in issues' do
+ page.should_not have_content 'Bugfix1'
end
end