summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2015-01-19 23:51:03 -0800
committerAndre Arko <andre@arko.net>2015-01-19 23:51:03 -0800
commit47969834063741f2d5c1ab96912622d5bb50978b (patch)
treeb4b81fa84fb9b752686c44bd35910e839cc492a8
parent4251a1bfe29a7980f80bcaf3dc28fa0f4d3992b0 (diff)
downloadbundler-47969834063741f2d5c1ab96912622d5bb50978b.tar.gz
fix specs for new exec
-rw-r--r--spec/commands/clean_spec.rb2
-rw-r--r--spec/install/gems/simple_case_spec.rb4
2 files changed, 3 insertions, 3 deletions
diff --git a/spec/commands/clean_spec.rb b/spec/commands/clean_spec.rb
index 2e11433e77..d63b77525f 100644
--- a/spec/commands/clean_spec.rb
+++ b/spec/commands/clean_spec.rb
@@ -541,7 +541,7 @@ describe "bundle clean" do
bundle "clean --force"
- sys_status "foo"
+ sys_exec "foo"
expect(exitstatus).to eq(0)
expect(out).to eq("1.0")
diff --git a/spec/install/gems/simple_case_spec.rb b/spec/install/gems/simple_case_spec.rb
index 267530e02a..918074fadd 100644
--- a/spec/install/gems/simple_case_spec.rb
+++ b/spec/install/gems/simple_case_spec.rb
@@ -96,11 +96,11 @@ describe "bundle install with gem sources" do
end
it "raises an appropriate error when gems are specified using symbols" do
- status = install_gemfile(<<-G)
+ install_gemfile(<<-G)
source "file://#{gem_repo1}"
gem :rack
G
- expect(status).to eq(4)
+ expect(exitstatus).to eq(4)
end
it "pulls in dependencies" do