spec/other/open_spec.rb in bundler-1.0.2 vs spec/other/open_spec.rb in bundler-1.0.3
- old
+ new
@@ -30,22 +30,6 @@
it "complains if gem not in bundle" do
bundle "open missing", :env => {"EDITOR" => "echo editor", "VISUAL" => "", "BUNDLER_EDITOR" => ""}
out.should match(/could not find gem 'missing'/i)
end
-
- describe "while locked" do
- before :each do
- bundle :lock
- end
-
- it "opens the gem with EDITOR if set" do
- bundle "open rails", :env => {"EDITOR" => "echo editor", "VISUAL" => "", "BUNDLER_EDITOR" => ""}
- out.should == "editor #{default_bundle_path('gems', 'rails-2.3.2')}"
- end
-
- it "complains if gem not in bundle" do
- bundle "open missing", :env => {"EDITOR" => "echo editor", "VISUAL" => "", "BUNDLER_EDITOR" => ""}
- out.should match(/could not find gem 'missing'/i)
- end
- end
end