aboutsummaryrefslogtreecommitdiffstats
path: root/spec/runtime/load_spec.rb
diff options
context:
space:
mode:
authorTerence Lee <hone02@gmail.com>2010-10-09 01:28:37 -0500
committerAndre Arko <andre@arko.net>2010-10-13 11:50:50 -0700
commit78f78e39ca48c7b4edfd09c2c2b365ff7dd15e47 (patch)
treeef47d28c45595c9f9e79f1d73de56871d739fe50 /spec/runtime/load_spec.rb
parentd7cbd83675374c5bb9308e5ba61a1ba2ea03e704 (diff)
downloadbundler-78f78e39ca48c7b4edfd09c2c2b365ff7dd15e47.tar.gz
remove bundle :lock
Diffstat (limited to 'spec/runtime/load_spec.rb')
-rw-r--r--spec/runtime/load_spec.rb31
1 files changed, 13 insertions, 18 deletions
diff --git a/spec/runtime/load_spec.rb b/spec/runtime/load_spec.rb
index 2dd92308..e18d39ff 100644
--- a/spec/runtime/load_spec.rb
+++ b/spec/runtime/load_spec.rb
@@ -69,26 +69,21 @@ describe "Bundler.load" do
end
end
- describe "when locked" do
- before :each do
- install_gemfile <<-G
- source "file://#{gem_repo1}"
- gem "activesupport"
- G
- bundle :lock
- end
+ # This is obviously not true on 1.9 thanks to the AWEOME! gem prelude :'(
+ it "does not invoke setup inside env.rb" do
+ install_gemfile <<-G
+ source "file://#{gem_repo1}"
+ gem "activesupport"
+ G
- # This is obviously not true on 1.9 thanks to the AWEOME! gem prelude :'(
- it "does not invoke setup inside env.rb" do
- ruby <<-RUBY
- require 'bundler'
- Bundler.load
- puts $LOAD_PATH.grep(/activesupport/i)
- RUBY
+ ruby <<-RUBY
+ require 'bundler'
+ Bundler.load
+ puts $LOAD_PATH.grep(/activesupport/i)
+ RUBY
- out.should == ""
- end if RUBY_VERSION < "1.9"
- end
+ out.should == ""
+ end if RUBY_VERSION < "1.9"
describe "not hurting brittle rubygems" do
it "does not inject #source into the generated YAML of the gem specs" do