Sha256: f957e703c5384a55f8af735218b540174a696c1fe1f55bb68bf8f5b8ecffdfde

Contents?: true

Size: 949 Bytes

Versions: 39

Compression:

Stored size: 949 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
describe php_config('default_mimetype', :ini => '/etc/php5/php.ini') do
  let(:stdout) { 'text/html' }
  its(:value) { should eq 'text/html' }
end

Version data entries

39 entries across 39 versions & 2 rubygems

Version Path
serverspec-2.37.2 spec/type/base/php_config_spec.rb
serverspec-2.37.1 spec/type/base/php_config_spec.rb
serverspec-2.37.0 spec/type/base/php_config_spec.rb
serverspec-2.36.1 spec/type/base/php_config_spec.rb
serverspec-2.36.0 spec/type/base/php_config_spec.rb
serverspec-2.35.0 spec/type/base/php_config_spec.rb
serverspec-2.34.0 spec/type/base/php_config_spec.rb
serverspec-2.33.0 spec/type/base/php_config_spec.rb
serverspec-2.32.0 spec/type/base/php_config_spec.rb
serverspec-2.31.1 spec/type/base/php_config_spec.rb
serverspec-2.31.0 spec/type/base/php_config_spec.rb
serverspec-2.30.1 spec/type/base/php_config_spec.rb
serverspec-2.30.0 spec/type/base/php_config_spec.rb
serverspec-2.29.2 spec/type/base/php_config_spec.rb
serverspec-2.29.1 spec/type/base/php_config_spec.rb
serverspec-2.29.0 spec/type/base/php_config_spec.rb
serverspec-2.28.0 spec/type/base/php_config_spec.rb
serverspec-2.27.0 spec/type/base/php_config_spec.rb
serverspec-2.26.0 spec/type/base/php_config_spec.rb