Sha256: 85b1aa42b4ffe9020026bc4c4149752b6398a82f5f63743abde46da830f03dcb

Contents?: true

Size: 456 Bytes

Versions: 12

Compression:

Stored size: 456 Bytes

Contents

require 'spec_helper'
require "vagrant-ovirt4/action/message_not_created"

describe VagrantPlugins::OVirtProvider::Action::MessageNotCreated do
  let(:app) { lambda { |env| } }
  let(:env) {
     OpenStruct.new({
       vms_service: {},
       machine: OpenStruct.new({}),
     })
  }


  subject(:action) { described_class.new(app, env) }

  it 'calls message not created' do
    expect(action).to receive(:call).with(env)
    action.call(env)
  end
end 

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
vagrant-ovirt4-2.2.0 spec/vagrant-ovirt4/action/message_not_created_spec.rb
vagrant-ovirt4-2.1.3 spec/vagrant-ovirt4/action/message_not_created_spec.rb
vagrant-ovirt4-2.1.0 spec/vagrant-ovirt4/action/message_not_created_spec.rb
vagrant-ovirt4-2.0.0 spec/vagrant-ovirt4/action/message_not_created_spec.rb
vagrant-ovirt4-1.2.3 spec/vagrant-ovirt4/action/message_not_created_spec.rb
vagrant-ovirt4-1.2.2 spec/vagrant-ovirt4/action/message_not_created_spec.rb
vagrant-ovirt4-1.2.1 spec/vagrant-ovirt4/action/message_not_created_spec.rb
vagrant-ovirt4-1.2.0 spec/vagrant-ovirt4/action/message_not_created_spec.rb
vagrant-ovirt4-1.1.0 spec/vagrant-ovirt4/action/message_not_created_spec.rb
vagrant-ovirt4-1.0.2 spec/vagrant-ovirt4/action/message_not_created_spec.rb
vagrant-ovirt4-1.0.1 spec/vagrant-ovirt4/action/message_not_created_spec.rb
vagrant-ovirt4-1.0.0 spec/vagrant-ovirt4/action/message_not_created_spec.rb