Sha256: 89adc62dd4d239a3e011db70ee5847ca4836a36e89e5c5171394b9a983df2661

Contents?: true

Size: 802 Bytes

Versions: 57

Compression:

Stored size: 802 Bytes

Contents

require 'spec_helper'

set :os, :family => 'base'

describe php_config('default_mimetype') do
  let(:stdout) { 'text/html' }
  its(:value) { should eq 'text/html' }
end

describe php_config('default_mimetype') do
  let(:stdout) { 'text/html' }
  its(:value) { should_not eq 'text/plain' }
end

describe php_config('session.cache_expire') do
  let(:stdout) { '180' }
  its(:value) { should eq 180 }
end

describe php_config('session.cache_expire') do
  let(:stdout) { '180' }
  its(:value) { should_not eq 360 }
end

describe php_config('mbstring.http_output_conv_mimetypes') do
  let(:stdout) { 'application' }
  its(:value) { should match /application/ }
end

describe php_config('mbstring.http_output_conv_mimetypes') do
  let(:stdout) { 'application' }
  its(:value) { should_not match /html/ }
end

Version data entries

57 entries across 57 versions & 3 rubygems

Version Path
serverspec-ruby19-2.24.3 spec/type/base/php_config_spec.rb
serverspec-2.25.0 spec/type/base/php_config_spec.rb
serverspec-2.24.3 spec/type/base/php_config_spec.rb
serverspec-2.24.2 spec/type/base/php_config_spec.rb
serverspec-2.24.1 spec/type/base/php_config_spec.rb
serverspec-2.24.0 spec/type/base/php_config_spec.rb
serverspec-2.23.1 spec/type/base/php_config_spec.rb
serverspec-2.23.0 spec/type/base/php_config_spec.rb
serverspec-2.22.0 spec/type/base/php_config_spec.rb
serverspec-2.21.1 spec/type/base/php_config_spec.rb
serverspec-2.21.0 spec/type/base/php_config_spec.rb
serverspec-2.20.0 spec/type/base/php_config_spec.rb
serverspec-2.19.0 spec/type/base/php_config_spec.rb
serverspec-2.18.0 spec/type/base/php_config_spec.rb
serverspec-2.17.1 spec/type/base/php_config_spec.rb
serverspec-2.17.0 spec/type/base/php_config_spec.rb
serverspec-2.16.0 spec/type/base/php_config_spec.rb
serverspec-2.15.0 spec/type/base/php_config_spec.rb
serverspec-2.14.1 spec/type/base/php_config_spec.rb
serverspec-2.14.0 spec/type/base/php_config_spec.rb