Sha256: 38b7e66c1d3d93a120022931013b48d1ca037bfe5fed5e30896259a5c698b8c8

Contents?: true

Size: 455 Bytes

Versions: 12

Compression:

Stored size: 455 Bytes

Contents

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

describe VagrantPlugins::OVirtProvider::Action::MessageNotSuspended 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 up' 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_suspended_spec.rb
vagrant-ovirt4-2.1.3 spec/vagrant-ovirt4/action/message_not_suspended_spec.rb
vagrant-ovirt4-2.1.0 spec/vagrant-ovirt4/action/message_not_suspended_spec.rb
vagrant-ovirt4-2.0.0 spec/vagrant-ovirt4/action/message_not_suspended_spec.rb
vagrant-ovirt4-1.2.3 spec/vagrant-ovirt4/action/message_not_suspended_spec.rb
vagrant-ovirt4-1.2.2 spec/vagrant-ovirt4/action/message_not_suspended_spec.rb
vagrant-ovirt4-1.2.1 spec/vagrant-ovirt4/action/message_not_suspended_spec.rb
vagrant-ovirt4-1.2.0 spec/vagrant-ovirt4/action/message_not_suspended_spec.rb
vagrant-ovirt4-1.1.0 spec/vagrant-ovirt4/action/message_not_suspended_spec.rb
vagrant-ovirt4-1.0.2 spec/vagrant-ovirt4/action/message_not_suspended_spec.rb
vagrant-ovirt4-1.0.1 spec/vagrant-ovirt4/action/message_not_suspended_spec.rb
vagrant-ovirt4-1.0.0 spec/vagrant-ovirt4/action/message_not_suspended_spec.rb