WebMock.allow_net_connect! Jasmine.configure do |config| config.browser = :phantomjs end