diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-02-22 16:39:43 -0600 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-02-23 09:32:42 -0600 |
commit | bdbc7d967a0c3d95d5e4ea19a2a5be41268d3540 (patch) | |
tree | 58899ea2583f1cf5f370f657f584a99d57954c9e /features/steps | |
parent | 0beba0251ca5bfbbc0c1a60c5b0b44c972f252cd (diff) | |
download | gitlab-ce-bdbc7d967a0c3d95d5e4ea19a2a5be41268d3540.tar.gz |
Revert "Enable Style/BarePercentLiterals"
This reverts commit 96bef54154e669f9a3e92c3a4bc76c0be3a52e48.
Diffstat (limited to 'features/steps')
-rw-r--r-- | features/steps/project/badges/build.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/project/badges/build.rb b/features/steps/project/badges/build.rb index 12a49779edb..96c59322f9b 100644 --- a/features/steps/project/badges/build.rb +++ b/features/steps/project/badges/build.rb @@ -27,6 +27,6 @@ class Spinach::Features::ProjectBadgesBuild < Spinach::FeatureSteps def expect_badge(status) svg = Nokogiri::XML.parse(page.body) expect(page.response_headers['Content-Type']).to include('image/svg+xml') - expect(svg.at(%{text:contains("#{status}")})).to be_truthy + expect(svg.at(%Q{text:contains("#{status}")})).to be_truthy end end |