metasploitable3/chef/cookbooks/metasploitable/spec/unit/recipes/default_spec.rb
2017-07-12 18:15:48 -05:00

21 lines
451 B
Ruby

#
# Cookbook:: metasploitable
# Spec:: default
#
# Copyright:: 2017, The Authors, All Rights Reserved.
require 'spec_helper'
describe 'metasploitable::default' do
context 'When all attributes are default, on an unspecified platform' do
let(:chef_run) do
runner = ChefSpec::ServerRunner.new
runner.converge(described_recipe)
end
it 'converges successfully' do
expect { chef_run }.to_not raise_error
end
end
end