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.6.0 test/models/resources/test_resource.rb
fog-azure-rm-0.5.3 test/models/resources/test_resource.rb
fog-azure-rm-0.5.2 test/models/resources/test_resource.rb
far-gem-0.5.6 test/models/resources/test_resource.rb
fog-azure-rm-0.5.1 test/models/resources/test_resource.rb
far-gem-0.5.5 test/models/resources/test_resource.rb
fog-azure-rm-0.5.0 test/models/resources/test_resource.rb
far-gem-0.5.4 test/models/resources/test_resource.rb
far-gem-0.5.3 test/models/resources/test_resource.rb
fog-azure-rm-0.4.9 test/models/resources/test_resource.rb
far-gem-0.5.2 test/models/resources/test_resource.rb
fog-azure-rm-0.4.8 test/models/resources/test_resource.rb
fog-azure-rm-0.4.7 test/models/resources/test_resource.rb
fog-azure-rm-0.4.6 test/models/resources/test_resource.rb
fog-azure-rm-0.4.5 test/models/resources/test_resource.rb
fog-azure-rm-temp-0.0.5 test/models/resources/test_resource.rb
fog-azure-rm-0.4.4 test/models/resources/test_resource.rb
fog-azure-rm-0.4.3 test/models/resources/test_resource.rb
far-gem-0.5.1 test/models/resources/test_resource.rb
fog-azure-rm-0.4.2 test/models/resources/test_resource.rb