Sha256: e5e25983ecf91687fa25b6e1bdf6a3fff6b0a1702b91afb02953ea8fa7e4dd11

Contents?: true

Size: 444 Bytes

Versions: 20

Compression:

Stored size: 444 Bytes

Contents

require 'spec_helper_system'

describe "nginx class:" do
  context 'should run successfully' do
    pp = "class { 'nginx': }"

    context puppet_apply(pp) do
      its(:stderr) { should be_empty }
      its(:exit_code) { should_not == 1 }
      its(:refresh) { should be_nil }
      its(:stderr) { should be_empty }
      its(:exit_code) { should be_zero }
    end
  end

  describe service('nginx') do
    it { should be_running }
  end

end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
freighthop-0.6.1 modules/nginx/spec/system/class_spec.rb
freighthop-0.6.0 modules/nginx/spec/system/class_spec.rb
freighthop-0.5.2 modules/nginx/spec/system/class_spec.rb
freighthop-0.5.1 modules/nginx/spec/system/class_spec.rb
freighthop-0.5.0 modules/nginx/spec/system/class_spec.rb
freighthop-0.4.1 modules/nginx/spec/system/class_spec.rb
freighthop-0.4.0 modules/nginx/spec/system/class_spec.rb
freighthop-0.3.3 modules/nginx/spec/system/class_spec.rb
freighthop-0.3.2 modules/nginx/spec/system/class_spec.rb
freighthop-0.3.1 modules/nginx/spec/system/class_spec.rb
freighthop-0.3.0 modules/nginx/spec/system/class_spec.rb
freighthop-0.2.1 modules/nginx/spec/system/class_spec.rb
freighthop-0.2.0 modules/nginx/spec/system/class_spec.rb
freighthop-0.1.0 modules/nginx/spec/system/class_spec.rb
freighthop-0.0.6 modules/nginx/spec/system/class_spec.rb
freighthop-0.0.5 modules/nginx/spec/system/class_spec.rb
freighthop-0.0.4 modules/nginx/spec/system/class_spec.rb
freighthop-0.0.3 modules/nginx/spec/system/class_spec.rb
freighthop-0.0.2 modules/nginx/spec/system/class_spec.rb
freighthop-0.0.1 modules/nginx/spec/system/class_spec.rb