diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2018-09-03 16:22:22 -0300 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2018-09-11 21:31:10 -0300 |
commit | a71d74c358e5b9df4e12904a52600d24ba1ce3eb (patch) | |
tree | eabb7f928810e8bab39bee37636544b9fcb934e1 /spec/commands/exec_spec.rb | |
parent | 368d7594adbdf83032719011d7608545faf2d942 (diff) | |
download | bundler-a71d74c358e5b9df4e12904a52600d24ba1ce3eb.tar.gz |
Better conditional assertionfix_locally_failing_spec
So that the spec also passes for developers under Linux.
Diffstat (limited to 'spec/commands/exec_spec.rb')
-rw-r--r-- | spec/commands/exec_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/commands/exec_spec.rb b/spec/commands/exec_spec.rb index 95c10c0a9f..492907743a 100644 --- a/spec/commands/exec_spec.rb +++ b/spec/commands/exec_spec.rb @@ -561,7 +561,7 @@ RSpec.describe "bundle exec" do ex << "raise SignalException, 'SIGTERM'\n" ex end - let(:expected_err) { ENV["TRAVIS"] ? "Terminated" : "" } + let(:expected_err) { RUBY_PLATFORM =~ /darwin/ ? "" : "Terminated" } let(:exit_code) do # signal mask 128 + plus signal 15 -> TERM # this is specified by C99 |