spec/gentoo/port_spec.rb in serverspec-0.9.4 vs spec/gentoo/port_spec.rb in serverspec-0.9.5
- old
+ new
@@ -1,7 +1,9 @@
require 'spec_helper'
-include Serverspec::Helper::Gentoo
+RSpec.configure do |c|
+ c.os = 'Gentoo'
+end
describe port(80) do
it { should be_listening }
its(:command) { should eq 'netstat -tunl | grep -- :80\\ ' }
end