Created
September 12, 2014 23:21
-
-
Save ericfode/eaaa44606d9f8ea2ce6e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'serverspec' | |
include Serverspec::Helper::Exec | |
include Serverspec::Helper::DetectOS | |
describe 'resolve assigned host name to an ipaddress' do | |
describe host('test-node') do | |
it { should be_resolvable.by('hosts') } | |
end | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment