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