summaryrefslogtreecommitdiff
path: root/features/steps/shared/markdown.rb
diff options
context:
space:
mode:
authorVinnie Okada <vokada@mrvinn.com>2014-10-18 18:24:12 -0500
committerVinnie Okada <vokada@mrvinn.com>2014-10-18 18:24:12 -0500
commit74c82ae32583ebf335f310a29ffb22d75b356863 (patch)
tree402248531097bc4ba7d503936acff16936a5d8c1 /features/steps/shared/markdown.rb
parentf9e423b499795e599d25f76c3ef519cac8ac6db0 (diff)
downloadgitlab-ce-74c82ae32583ebf335f310a29ffb22d75b356863.tar.gz
Fix houndci warnings
Diffstat (limited to 'features/steps/shared/markdown.rb')
-rw-r--r--features/steps/shared/markdown.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/features/steps/shared/markdown.rb b/features/steps/shared/markdown.rb
index 10da67a6ba8..8dfb8ed72e9 100644
--- a/features/steps/shared/markdown.rb
+++ b/features/steps/shared/markdown.rb
@@ -60,7 +60,7 @@ EOT
end
step 'The Markdown preview tab should say there is nothing to do' do
- within(".gfm-form") do
+ within('.gfm-form') do
find('.js-md-preview-button').click
expect(find('.js-md-preview')).to have_content('Nothing to preview.')
end
@@ -79,7 +79,7 @@ EOT
end
step 'The Markdown preview tab should display rendered Markdown' do
- within(".gfm-form") do
+ within('.gfm-form') do
find('.js-md-preview-button').click
expect(find('.js-md-preview')).to have_css('img.emoji')
end
@@ -92,7 +92,7 @@ EOT
step 'I preview a description text like "Bug fixed :smile:"' do
within('.gfm-form') do
fill_in 'Description', with: 'Bug fixed :smile:'
- find('.js-md-preview-button').click()
+ find('.js-md-preview-button').click
end
end