Sha256: d26d90dd66eb04effdbdd656a44113d6eb9747e1a333bd6cf5d505a38d041f85

Contents?: true

Size: 502 Bytes

Versions: 4

Compression:

Stored size: 502 Bytes

Contents

require File.expand_path '../../test_helper', __dir__

# Test class for Resource Model
class TestResource < Minitest::Test
  def setup
    @service = Fog::Resources::AzureRM.new(credentials)
    @resource = Fog::Resources::AzureRM::AzureResource.new
  end

  def test_model_attributes
    attributes = [
      :id,
      :name,
      :type,
      :location,
      :tags
    ]
    attributes.each do |attribute|
      assert @resource.respond_to? attribute, true
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fog-azure-rm-0.0.8 test/models/resources/test_resource.rb
fog-azure-rm-0.0.6 test/models/resources/test_resource.rb
fog-azure-rm-0.0.5 test/models/resources/test_resource.rb
fog-azure-rm-0.0.4 test/models/resources/test_resource.rb