diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-02-22 03:47:39 +0300 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-02-23 18:31:57 +0300 |
commit | baafd8de26507ebd76177b5c65b5da921445ddc9 (patch) | |
tree | e42fa7a49b6615dbf4e2c8a65077de399bec01b8 /spec/models/project_services/drone_ci_service_spec.rb | |
parent | d78513cb6ccfe10976cc433e2b421c30d06d19be (diff) |
Enable Style/BarePercentLiterals
Diffstat (limited to 'spec/models/project_services/drone_ci_service_spec.rb')
-rw-r--r-- | spec/models/project_services/drone_ci_service_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/project_services/drone_ci_service_spec.rb b/spec/models/project_services/drone_ci_service_spec.rb index f9307d6de7b..3b5b215513d 100644 --- a/spec/models/project_services/drone_ci_service_spec.rb +++ b/spec/models/project_services/drone_ci_service_spec.rb @@ -50,7 +50,7 @@ describe DroneCiService, models: true, caching: true do end def stub_request(status: 200, body: nil) - body ||= %Q({"status":"success"}) + body ||= %({"status":"success"}) WebMock.stub_request(:get, commit_status_path).to_return( status: status, @@ -102,7 +102,7 @@ describe DroneCiService, models: true, caching: true do }.each do |drone_status, our_status| it "sets commit status to #{our_status.inspect} when returned status is #{drone_status.inspect}" do - stub_request(body: %Q({"status":"#{drone_status}"})) + stub_request(body: %({"status":"#{drone_status}"})) is_expected.to eq(our_status) end |