mirror of
https://github.com/rapid7/metasploitable3.git
synced 2024-08-24 00:02:44 +02:00
21 lines
449 B
Ruby
21 lines
449 B
Ruby
|
#
|
||
|
# Cookbook:: metasploitable
|
||
|
# Spec:: default
|
||
|
#
|
||
|
# Copyright:: 2017, The Authors, All Rights Reserved.
|
||
|
|
||
|
require 'spec_helper'
|
||
|
|
||
|
describe 'metasploitable::mysql' 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
|