test/configuration_test.rb in propono-0.10.0 vs test/configuration_test.rb in propono-0.11.0
- old
+ new
@@ -17,9 +17,18 @@
config.access_key = test_key
end
assert_equal test_key, Propono.config.access_key
end
+ def test_use_iam_profile_defaults_false
+ assert ! Propono.config.use_iam_profile
+ end
+
+ def test_use_iam_profile
+ Propono.config.use_iam_profile = true
+ assert Propono.config.use_iam_profile
+ end
+
def test_access_key
access_key = "test-access-key"
Propono.config.access_key = access_key
assert_equal access_key, Propono.config.access_key
end