test/plugin/base_test.rb in fluent-plugin-google-cloud-0.8.6 vs test/plugin/base_test.rb in fluent-plugin-google-cloud-0.8.7
- old
+ new
@@ -105,10 +105,10 @@
assert_equal CUSTOM_VM_ID, d.instance.vm_id
end
def test_configure_metadata_missing_parts_on_other_platforms
setup_no_metadata_service_stubs
- Fluent::GoogleCloudOutput::CredentialsInfo.stubs(:project_id).returns(nil)
+ Common::Utils::CredentialsInfo.stubs(:project_id).returns(nil)
[[CONFIG_MISSING_METADATA_PROJECT_ID, ['project_id'], false],
[CONFIG_MISSING_METADATA_ZONE, [], true],
[CONFIG_MISSING_METADATA_VM_ID, [], true],
[CONFIG_MISSING_METADATA_ALL, ['project_id'], false]
].each_with_index do |(config, missing_parts, is_valid_config), index|