diff options
author | Samuel E. Giddins <segiddins@segiddins.me> | 2015-07-15 20:52:48 -0700 |
---|---|---|
committer | Samuel E. Giddins <segiddins@segiddins.me> | 2015-07-15 20:52:48 -0700 |
commit | a77ca278809d7f31fa51e4b821faed86324c8275 (patch) | |
tree | da1c6c68b24fdcab9acfc07b6a352a39af1c6f4e /spec/bundler/fetcher_spec.rb | |
parent | af694073229af89af205d24ff449f51f74316a37 (diff) | |
download | bundler-a77ca278809d7f31fa51e4b821faed86324c8275.tar.gz |
[RuboCop] Enable Style/StringLiterals
Diffstat (limited to 'spec/bundler/fetcher_spec.rb')
-rw-r--r-- | spec/bundler/fetcher_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/bundler/fetcher_spec.rb b/spec/bundler/fetcher_spec.rb index 3c7bef39f2..4df9018d66 100644 --- a/spec/bundler/fetcher_spec.rb +++ b/spec/bundler/fetcher_spec.rb @@ -1,5 +1,5 @@ -require 'spec_helper' -require 'bundler/fetcher' +require "spec_helper" +require "bundler/fetcher" describe Bundler::Fetcher do subject(:fetcher) { Bundler::Fetcher.new(double("remote", :uri => URI("https://example.com"))) } @@ -20,14 +20,14 @@ describe Bundler::Fetcher do describe "include CI information" do it "from one CI" do with_env_vars({"JENKINS_URL" => "foo"}) do - ci_part = fetcher.user_agent.split(' ').find{|x| x.match(/\Aci\//)} + ci_part = fetcher.user_agent.split(" ").find{|x| x.match(/\Aci\//)} expect(ci_part).to match("jenkins") end end it "from many CI" do with_env_vars({"TRAVIS" => "foo", "CI_NAME" => "my_ci"}) do - ci_part = fetcher.user_agent.split(' ').find{|x| x.match(/\Aci\//)} + ci_part = fetcher.user_agent.split(" ").find{|x| x.match(/\Aci\//)} expect(ci_part).to match("travis") expect(ci_part).to match("my_ci") end |