Sha256: 807e88ebb2c9a66f538af7824b7cfe67fe0e71defcbd3baa9527dd60a5bb5203

Contents?: true

Size: 496 Bytes

Versions: 50

Compression:

Stored size: 496 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_respond_to @resource, attribute
    end
  end
end

Version data entries

50 entries across 50 versions & 4 rubygems

Version Path
fog-azure-rm-0.4.1 test/models/resources/test_resource.rb
fog-azure-rm-0.4.0 test/models/resources/test_resource.rb
fog-azure-rm-0.3.9 test/models/resources/test_resource.rb
fog-azure-rm-0.3.8 test/models/resources/test_resource.rb
fog-azure-rm-0.3.7 test/models/resources/test_resource.rb
fog-azure-rm-0.3.6 test/models/resources/test_resource.rb
fog-azure-rm-0.3.5 test/models/resources/test_resource.rb
fog-azure-rm-0.3.4 test/models/resources/test_resource.rb
fog-azure-rm-temp-0.0.4 test/models/resources/test_resource.rb
fog-azure-rm-temp-0.0.3 test/models/resources/test_resource.rb
fog-azure-rm-0.3.3 test/models/resources/test_resource.rb
fog-azure-rm-temp-0.0.2 test/models/resources/test_resource.rb
fog-azure-rm-temp-0.0.1 test/models/resources/test_resource.rb
fog-azure-rm-0.3.2 test/models/resources/test_resource.rb
fog-azure-rm-downgraded-0.3.1 test/models/resources/test_resource.rb
fog-azure-rm-0.3.1 test/models/resources/test_resource.rb
fog-azure-rm-downgraded-0.3.0 test/models/resources/test_resource.rb
fog-azure-rm-0.3.0 test/models/resources/test_resource.rb
fog-azure-rm-0.2.7 test/models/resources/test_resource.rb
fog-azure-rm-0.2.6 test/models/resources/test_resource.rb