require 'spec_helper' property[:os] = nil set :os, :family => 'redhat', :release => '7' describe get_command(:check_port_is_listening, '80') do it { should eq 'ss -tunl | grep -- :80\ ' } end