Sha256: 4cf1bdcee465fb66f6d57c186a220d6b4664e7c82e133bd4b3b67457bb352902
Contents?: true
Size: 633 Bytes
Versions: 1
Compression:
Stored size: 633 Bytes
Contents
require File.expand_path('../test_helper', __FILE__) module Pergo class ServerTest < Minitest::Test def test_initialization server = Server.new assert_equal "0.0.0.0", server.instance_variable_get("@host") assert_equal 9732, server.instance_variable_get("@port") assert_equal config.access_key, Propono.config.access_key assert_equal config.secret_key, Propono.config.secret_key assert_equal config.queue_region, Propono.config.queue_region end def test_listen_to_sqs_in_called Propono.expects(:listen_to_udp) Server.run end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pergo-0.2.0 | test/server_test.rb |