test/components/aws_config_test.rb in propono-1.7.0 vs test/components/aws_config_test.rb in propono-2.0.0.rc1
- old
+ new
@@ -13,15 +13,15 @@
@aws_config = Propono::AwsConfig.new(@config)
end
def test_access_key
- assert_equal "test-access-key", @aws_config.aws_options[:aws_access_key_id]
+ assert_equal "test-access-key", @aws_config.aws_options[:access_key_id]
end
def test_secret_key
- assert_equal "test-secret-key", @aws_config.aws_options[:aws_secret_access_key]
+ assert_equal "test-secret-key", @aws_config.aws_options[:secret_access_key]
end
def test_region
assert_equal "test-queue-region", @aws_config.aws_options[:region]
end
@@ -35,15 +35,15 @@
assert @aws_config.aws_options[:use_iam_profile]
end
def test_selecting_use_iam_profile_results_in_no_access_key
@config.use_iam_profile = true
- assert ! @aws_config.aws_options.has_key?(:aws_access_key_id)
+ assert ! @aws_config.aws_options.has_key?(:access_key_id)
end
def test_selecting_use_iam_profile_results_in_no_secret_key
@config.use_iam_profile = true
- assert ! @aws_config.aws_options.has_key?(:aws_secret_access_key)
+ assert ! @aws_config.aws_options.has_key?(:secret_access_key)
end
def test_region_when_using_iam_profile
@config.use_iam_profile = true
assert_equal "test-queue-region", @aws_config.aws_options[:region]