summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-08-16 16:43:56 +0100
committerPhil Hughes <me@iamphill.com>2017-08-16 18:02:25 +0100
commitceb0e6767bef7371b49715ff157f8b303b521e37 (patch)
tree6733a48477cada1c167b7e6e71b4e4ae4806fcc8
parentba89ee1f7d9e126dc6306a857da5abe816a18047 (diff)
downloadgitlab-ce-help-page-spec-fix.tar.gz
Fix help page version image spechelp-page-spec-fix
-rw-r--r--spec/features/help_pages_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/help_pages_spec.rb b/spec/features/help_pages_spec.rb
index bd4f233cba9..93be3b066ee 100644
--- a/spec/features/help_pages_spec.rb
+++ b/spec/features/help_pages_spec.rb
@@ -50,7 +50,7 @@ describe 'Help Pages' do
it 'hides the version check image if the image request fails' do
# We use '--load-images=yes' with poltergeist so the image fails to load
- expect(find('.js-version-status-badge', visible: false)).not_to be_visible
+ expect(page).to have_selector('.js-version-status-badge', visible: false)
end
end