spec/aix/port_spec.rb in serverspec-0.9.4 vs spec/aix/port_spec.rb in serverspec-0.9.5
- old
+ new
@@ -1,7 +1,9 @@
require 'spec_helper'
-include Serverspec::Helper::AIX
+RSpec.configure do |c|
+ c.os = 'AIX'
+end
describe port(80) do
it { should be_listening }
its(:command) { should eq "netstat -an -f inet | awk '{print $4}' | grep -- *.80 " }
end