serverspec 0.4.6 → 0.4.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -34,17 +34,20 @@ EOF
34
34
  content = <<-EOF
35
35
  require 'spec_helper'
36
36
 
37
- describe 'httpd' do
37
+ describe package('httpd') do
38
38
  it { should be_installed }
39
+ end
40
+
41
+ describe service('httpd') do
39
42
  it { should be_enabled }
40
43
  it { should be_running }
41
44
  end
42
45
 
43
- describe 'port 80' do
46
+ describe port(80) do
44
47
  it { should be_listening }
45
48
  end
46
49
 
47
- describe '/etc/httpd/conf/httpd.conf' do
50
+ describe file('/etc/httpd/conf/httpd.conf') do
48
51
  it { should be_file }
49
52
  it { should contain "ServerName #{@hostname}" }
50
53
  end
@@ -1,3 +1,3 @@
1
1
  module Serverspec
2
- VERSION = "0.4.6"
2
+ VERSION = "0.4.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: serverspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.6
4
+ version: 0.4.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: