Sha256: a09d6565d602c55e8a872185086db2eed7117daf5dca3ca8b7c63a2ba2feb3d6
Contents?: true
Size: 650 Bytes
Versions: 4
Compression:
Stored size: 650 Bytes
Contents
require "test_helper" class ClearNFSExportsActionTest < Test::Unit::TestCase setup do @klass = Vagrant::Action::VM::ClearNFSExports @app, @env = mock_action_data @env.env.stubs(:host).returns(Vagrant::Hosts::Base.new(@env)) @instance = @klass.new(@app, @env) end should "include the NFS helpers module" do assert @klass.included_modules.include?(Vagrant::Action::VM::NFSHelpers) end should "clear NFS exports then continue chain" do seq = sequence("seq") @instance.expects(:clear_nfs_exports).with(@env).in_sequence(seq) @app.expects(:call).with(@env).in_sequence(seq) @instance.call(@env) end end
Version data entries
4 entries across 4 versions & 2 rubygems