spec/spec_helper.rb in browsermob-proxy-0.0.4 vs spec/spec_helper.rb in browsermob-proxy-0.0.5
- old
+ new
@@ -37,6 +37,11 @@
RSpec.configure do |c|
c.include(BrowserMob::Proxy::SpecHelper)
c.after(:suite) { $_bm_server.stop if $_bm_server }
+end
+
+if ENV['TRAVIS']
+ ENV['DISPLAY'] = ":99"
+ ENV['BROWSERMOB_PROXY_HOME'] = "/tmp/browsermob-proxy"
end
\ No newline at end of file