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/install/path_spec.rb | |
parent | af694073229af89af205d24ff449f51f74316a37 (diff) | |
download | bundler-a77ca278809d7f31fa51e4b821faed86324c8275.tar.gz |
[RuboCop] Enable Style/StringLiterals
Diffstat (limited to 'spec/install/path_spec.rb')
-rw-r--r-- | spec/install/path_spec.rb | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/spec/install/path_spec.rb b/spec/install/path_spec.rb index e350a44d17..ffc53365c3 100644 --- a/spec/install/path_spec.rb +++ b/spec/install/path_spec.rb @@ -42,10 +42,10 @@ describe "bundle install" do it "remembers to disable system gems after the first time with bundle --path vendor/bundle" do bundle "install --path vendor/bundle" - FileUtils.rm_rf bundled_app('vendor') + FileUtils.rm_rf bundled_app("vendor") bundle "install" - expect(vendored_gems('gems/rack-1.0.0')).to be_directory + expect(vendored_gems("gems/rack-1.0.0")).to be_directory should_be_installed "rack 1.0.0" end end @@ -85,19 +85,19 @@ describe "bundle install" do bundle :install - expect(bundled_app('vendor/gems/rack-1.0.0')).to be_directory + expect(bundled_app("vendor/gems/rack-1.0.0")).to be_directory should_be_installed "rack 1.0.0" end it "installs gems to BUNDLE_PATH relative to root when relative" do set_bundle_path(type, "vendor") - FileUtils.mkdir_p bundled_app('lol') - Dir.chdir(bundled_app('lol')) do + FileUtils.mkdir_p bundled_app("lol") + Dir.chdir(bundled_app("lol")) do bundle :install end - expect(bundled_app('vendor/gems/rack-1.0.0')).to be_directory + expect(bundled_app("vendor/gems/rack-1.0.0")).to be_directory should_be_installed "rack 1.0.0" end end @@ -107,14 +107,14 @@ describe "bundle install" do bundle :install - expect(vendored_gems('gems/rack-1.0.0')).to be_directory + expect(vendored_gems("gems/rack-1.0.0")).to be_directory should_be_installed "rack 1.0.0" end it "sets BUNDLE_PATH as the first argument to bundle install" do bundle "install --path ./vendor/bundle" - expect(vendored_gems('gems/rack-1.0.0')).to be_directory + expect(vendored_gems("gems/rack-1.0.0")).to be_directory should_be_installed "rack 1.0.0" end @@ -123,7 +123,7 @@ describe "bundle install" do build_gem "rack", "1.1.0", :to_system => true bundle "install --path ./vendor/bundle" - expect(vendored_gems('gems/rack-1.0.0')).to be_directory + expect(vendored_gems("gems/rack-1.0.0")).to be_directory should_be_installed "rack 1.0.0" end end |