summaryrefslogtreecommitdiff
path: root/spec/install/gems/env_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/install/gems/env_spec.rb')
-rw-r--r--spec/install/gems/env_spec.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/spec/install/gems/env_spec.rb b/spec/install/gems/env_spec.rb
index 235a1ced32..ac3d19730a 100644
--- a/spec/install/gems/env_spec.rb
+++ b/spec/install/gems/env_spec.rb
@@ -18,7 +18,7 @@ describe "bundle install with ENV conditionals" do
end
it "includes the gems when the ENV variable is set" do
- ENV['BUNDLER_TEST'] = '1'
+ ENV["BUNDLER_TEST"] = "1"
bundle :install
should_be_installed "rack 1.0"
end
@@ -41,7 +41,7 @@ describe "bundle install with ENV conditionals" do
end
it "includes the gems when the ENV variable is set" do
- ENV['BUNDLER_TEST'] = '1'
+ ENV["BUNDLER_TEST"] = "1"
bundle :install
should_be_installed "rack 1.0"
end
@@ -64,13 +64,13 @@ describe "bundle install with ENV conditionals" do
end
it "excludes the gems when the ENV variable is set but does not match the condition" do
- ENV['BUNDLER_TEST'] = '1'
+ ENV["BUNDLER_TEST"] = "1"
bundle :install
should_not_be_installed "rack"
end
it "includes the gems when the ENV variable is set and matches the condition" do
- ENV['BUNDLER_TEST'] = 'foo'
+ ENV["BUNDLER_TEST"] = "foo"
bundle :install
should_be_installed "rack 1.0"
end
@@ -93,13 +93,13 @@ describe "bundle install with ENV conditionals" do
end
it "excludes the gems when the ENV variable is set but does not match the condition" do
- ENV['BUNDLER_TEST'] = 'fo'
+ ENV["BUNDLER_TEST"] = "fo"
bundle :install
should_not_be_installed "rack"
end
it "includes the gems when the ENV variable is set and matches the condition" do
- ENV['BUNDLER_TEST'] = 'foobar'
+ ENV["BUNDLER_TEST"] = "foobar"
bundle :install
should_be_installed "rack 1.0"
end