spec/debian/command_spec.rb in serverspec-0.11.1 vs spec/debian/command_spec.rb in serverspec-0.11.2
- old
+ new
@@ -1,9 +1,7 @@
require 'spec_helper'
-RSpec.configure do |c|
- c.os = 'Debian'
-end
+include Serverspec::Helper::Debian
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' }