Sha256: 98de752d63d136b102cbcec216cbe1f679894fa2b274525f7a8614f1b2e69eab
Contents?: true
Size: 501 Bytes
Versions: 11
Compression:
Stored size: 501 Bytes
Contents
require 'test_google_helper' module GoogleExtensions class AttachedDiskTest < GoogleTestCase describe 'insert_attrs' do it 'with source image' do disk = Google::Cloud::Compute::V1::AttachedDisk.new(source: 'source-image') assert_equal 'source-image', disk.insert_attrs[:source_image] end it 'without source image' do disk = Google::Cloud::Compute::V1::AttachedDisk.new assert_empty disk.insert_attrs[:source_image] end end end end
Version data entries
11 entries across 11 versions & 1 rubygems