spec/integrations/integration_test_helper.rb in firehose-1.1.1 vs spec/integrations/integration_test_helper.rb in firehose-1.2.0
- old
+ new
@@ -1,11 +1,11 @@
require 'spec_helper'
module IntegrationTestHelper
def start_server
@server_pid = fork do
- Firehose::Server.new(:server => server, :port => uri.port).start
+ Firehose::Server::App.new(:server => server, :port => uri.port).start
end
# Need to give the server a chance to boot up.
sleep 1
end
@@ -15,8 +15,8 @@
end
# Let isn't allowed in before(:all)
def uri
- Firehose::Default::URI
+ Firehose::URI
end
end