diff options
author | Andre Arko <andre@arko.net> | 2015-03-22 22:47:05 -0700 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2015-03-22 22:47:08 -0700 |
commit | 51db7efb0db6a077a5e3b9222ff74d1aabf9f169 (patch) | |
tree | 03e94e78210c81420551af86ead189c912664b46 | |
parent | a12dc2a294e1efc6e013dd61c54f8c1f9cdcc4a7 (diff) | |
download | bundler-51db7efb0db6a077a5e3b9222ff74d1aabf9f169.tar.gz |
use tests' copy of rake to verify gem tasks
/cc @segiddins
-rw-r--r-- | spec/runtime/gem_tasks_spec.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/spec/runtime/gem_tasks_spec.rb b/spec/runtime/gem_tasks_spec.rb index 924eb06d20..5124b05a3c 100644 --- a/spec/runtime/gem_tasks_spec.rb +++ b/spec/runtime/gem_tasks_spec.rb @@ -18,7 +18,10 @@ describe "require 'bundler/gem_tasks'" do end it "includes the relevant tasks" do - sys_exec "rake -T" + with_gem_path_as(Spec::Path.base_system_gems.to_s) do + sys_exec "ruby -S rake -T" + end + expect(err).to eq("") expected_tasks = [ "rake build", |