spec/support/aws.rb in fake_sqs-0.0.2 vs spec/support/aws.rb in fake_sqs-0.0.3
- old
+ new
@@ -15,11 +15,11 @@
class FakeServer
attr_reader :url
- def initialize(url = "http://localhost:4567")
+ def initialize(url = "http://0.0.0.0:4567")
@url = url
end
def uri
@uri ||= URI.parse(url)
@@ -40,10 +40,9 @@
def start
return if @started
@started = true
@fake_sqs_thread = Thread.new {
load File.expand_path('../../../bin/fake_sqs', __FILE__)
- Sinatra::Application.run!
}
wait_until_up
end
def stop