spec/redhat/command_spec.rb in serverspec-0.9.4 vs spec/redhat/command_spec.rb in serverspec-0.9.5

- old
+ new

@@ -1,7 +1,9 @@ require 'spec_helper' -include Serverspec::Helper::RedHat +RSpec.configure do |c| + c.os = 'RedHat' +end describe command('cat /etc/resolv.conf') do let(:stdout) { "nameserver 127.0.0.1\r\n" } it { should return_stdout("nameserver 127.0.0.1") } its(:command) { should eq 'cat /etc/resolv.conf' }