lib/serverspec/setup.rb in serverspec-0.15.2 vs lib/serverspec/setup.rb in serverspec-0.15.3

- old
+ new

@@ -107,10 +107,10 @@ it { should be_listening } end describe file('/etc/httpd/conf/httpd.conf') do it { should be_file } - it { should contain "ServerName #{@hostname}" } + its(:content) { should match /ServerName #{@hostname}/ } end EOF if File.exists? "spec/#{@hostname}/httpd_spec.rb" old_content = File.read("spec/#{@hostname}/httpd_spec.rb")