diff options
Diffstat (limited to 'spec/other/show_spec.rb')
-rw-r--r-- | spec/other/show_spec.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/spec/other/show_spec.rb b/spec/other/show_spec.rb index dcac7c1053..a90a14bee5 100644 --- a/spec/other/show_spec.rb +++ b/spec/other/show_spec.rb @@ -13,6 +13,11 @@ describe "bundle show" do out.should == default_bundle_path('gems', 'rails-2.3.2').to_s end + it "prints the path to the running bundler" do + bundle "show bundler" + out.should == File.expand_path('../../../../../', __FILE__) + end + it "complains if gem not in bundle" do bundle "show missing" out.should =~ /could not find gem 'missing'/i @@ -75,4 +80,4 @@ describe "bundle show with a git repo" do bundle :show out.should include("foo (1.0 #{sha[0..6]})") end -end
\ No newline at end of file +end |