test/configuration_test.rb in propono-1.0.0.rc2 vs test/configuration_test.rb in propono-1.0.0.rc3
- old
+ new
@@ -103,8 +103,18 @@
def test_missing_application_name_throws_exception
assert_raises(ProponoConfigurationError) do
Propono.config.application_name
end
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
end
end