summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2017-02-21 18:47:39 -0600
committerDouwe Maan <douwe@selenight.nl>2017-02-23 09:31:57 -0600
commitbaafd8de26507ebd76177b5c65b5da921445ddc9 (patch)
treee42fa7a49b6615dbf4e2c8a65077de399bec01b8 /features
parentd78513cb6ccfe10976cc433e2b421c30d06d19be (diff)
downloadgitlab-ce-baafd8de26507ebd76177b5c65b5da921445ddc9.tar.gz
Enable Style/BarePercentLiterals
Diffstat (limited to 'features')
-rw-r--r--features/steps/project/badges/build.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/features/steps/project/badges/build.rb b/features/steps/project/badges/build.rb
index 96c59322f9b..12a49779edb 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(%Q{text:contains("#{status}")})).to be_truthy
+ expect(svg.at(%{text:contains("#{status}")})).to be_truthy
end
end