summaryrefslogtreecommitdiff
path: root/spec/install/path_spec.rb
diff options
context:
space:
mode:
authorSamuel E. Giddins <segiddins@segiddins.me>2015-07-15 20:52:48 -0700
committerSamuel E. Giddins <segiddins@segiddins.me>2015-07-15 20:52:48 -0700
commita77ca278809d7f31fa51e4b821faed86324c8275 (patch)
treeda1c6c68b24fdcab9acfc07b6a352a39af1c6f4e /spec/install/path_spec.rb
parentaf694073229af89af205d24ff449f51f74316a37 (diff)
downloadbundler-a77ca278809d7f31fa51e4b821faed86324c8275.tar.gz
[RuboCop] Enable Style/StringLiterals
Diffstat (limited to 'spec/install/path_spec.rb')
-rw-r--r--spec/install/path_spec.rb18
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