diff options
author | Vinnie Okada <vokada@mrvinn.com> | 2014-10-19 03:24:12 +0400 |
---|---|---|
committer | Vinnie Okada <vokada@mrvinn.com> | 2014-10-19 03:24:12 +0400 |
commit | 74c82ae32583ebf335f310a29ffb22d75b356863 (patch) | |
tree | 402248531097bc4ba7d503936acff16936a5d8c1 /features/steps/shared | |
parent | f9e423b499795e599d25f76c3ef519cac8ac6db0 (diff) |
Fix houndci warnings
Diffstat (limited to 'features/steps/shared')
-rw-r--r-- | features/steps/shared/diff_note.rb | 4 | ||||
-rw-r--r-- | features/steps/shared/markdown.rb | 6 | ||||
-rw-r--r-- | features/steps/shared/note.rb | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/features/steps/shared/diff_note.rb b/features/steps/shared/diff_note.rb index aa31a09e326..7f1dde16c17 100644 --- a/features/steps/shared/diff_note.rb +++ b/features/steps/shared/diff_note.rb @@ -152,8 +152,8 @@ module SharedDiffNote step 'I should see two separate previews' do within(diff_file_selector) do expect(page).to have_css('.js-md-preview', count: 2) - expect(page).to have_content("Should fix it") - expect(page).to have_content("DRY this up") + expect(page).to have_content('Should fix it') + expect(page).to have_content('DRY this up') end end 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 diff --git a/features/steps/shared/note.rb b/features/steps/shared/note.rb index 9802614ec72..52d8c7e50fa 100644 --- a/features/steps/shared/note.rb +++ b/features/steps/shared/note.rb @@ -35,7 +35,7 @@ module SharedNote step 'I write a comment like ":+1: Nice"' do within(".js-main-target-form") do - fill_in "note[note]", with: ":+1: Nice" + fill_in 'note[note]', with: ':+1: Nice' end end |