spec/solaris11/cron_spec.rb in serverspec-0.9.4 vs spec/solaris11/cron_spec.rb in serverspec-0.9.5
- old
+ new
@@ -1,7 +1,9 @@
require 'spec_helper'
-include Serverspec::Helper::Solaris11
+RSpec.configure do |c|
+ c.os = 'Solaris11'
+end
describe cron do
it { should have_entry '* * * * * /usr/local/bin/batch.sh' }
its(:command) { should eq 'crontab -l | grep -- \\\\\\*\\ \\\\\\*\\ \\\\\\*\\ \\\\\\*\\ \\\\\\*\\ /usr/local/bin/batch.sh' }
end