Sha256: 15b2e14059414ddf63fe2bb41cf9e27f91399b5914154706b007640baf9db71a

Contents?: true

Size: 231 Bytes

Versions: 4

Compression:

Stored size: 231 Bytes

Contents

RSpec::Matchers.define :be_a_resource do |id, name, kind|
  match do |actual|
    actual.is_a?(VagrantPlugins::Cloudstack::Model::CloudstackResource) &&
      actual.id == id && actual.name == name && actual.kind == kind
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
vagrant-cloudstack-1.5.2 spec/vagrant-cloudstack/support/be_a_resource.rb
vagrant-cloudstack-1.5.1 spec/vagrant-cloudstack/support/be_a_resource.rb
vagrant-cloudstack-1.5.0 spec/vagrant-cloudstack/support/be_a_resource.rb
vagrant-cloudstack-1.4.0 spec/vagrant-cloudstack/support/be_a_resource.rb