test/configuration_test.rb in propono-1.6.0 vs test/configuration_test.rb in propono-1.7.0

- old
+ new

@@ -81,10 +81,16 @@ val = 9382 Propono.config.tcp_port = val assert_equal val, Propono.config.tcp_port end + def test_num_messages_per_poll + val = 3 + Propono.config.num_messages_per_poll = val + assert_equal val, Propono.config.num_messages_per_poll + end + def test_missing_access_key_throws_exception assert_raises(ProponoConfigurationError) do Propono.config.access_key end end @@ -108,10 +114,10 @@ end def test_default_max_retries assert_equal 0, Propono.config.max_retries end - + def test_max_retries val = 5 Propono.config.max_retries = val assert_equal 5, Propono.config.max_retries end