Add a tweak for Travis where BUNDLE_GEMFILE is preset

This commit is contained in:
Akinori MUSHA 2017-04-28 20:41:54 +09:00
parent 10e0398444
commit 807c493efe

View file

@ -134,6 +134,9 @@ describe Agents::ShellCommandAgent do
describe "with unbundle" do
before do
@checker.options[:command] = 'echo $BUNDLE_GEMFILE'
if ENV['TRAVIS'] == 'true'
stub.proxy(Bundler).original_env { |env| env.except('BUNDLE_GEMFILE') }
end
end
context "unspecified" do