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.42.3 spec/type/base/php_config_spec.rb
serverspec-2.42.2 spec/type/base/php_config_spec.rb
serverspec-2.42.1 spec/type/base/php_config_spec.rb
serverspec-cem-acpt-2.42.0 spec/type/base/php_config_spec.rb
serverspec-2.42.0 spec/type/base/php_config_spec.rb
serverspec-2.41.8 spec/type/base/php_config_spec.rb
serverspec-2.41.7 spec/type/base/php_config_spec.rb
serverspec-2.41.6 spec/type/base/php_config_spec.rb
serverspec-2.41.5 spec/type/base/php_config_spec.rb
serverspec-2.41.4 spec/type/base/php_config_spec.rb
serverspec-2.41.3 spec/type/base/php_config_spec.rb
serverspec-2.41.2 spec/type/base/php_config_spec.rb
serverspec-2.41.1 spec/type/base/php_config_spec.rb
serverspec-2.41.0 spec/type/base/php_config_spec.rb
serverspec-2.40.0 spec/type/base/php_config_spec.rb
serverspec-2.39.2 spec/type/base/php_config_spec.rb
serverspec-2.39.1 spec/type/base/php_config_spec.rb
serverspec-2.39.0 spec/type/base/php_config_spec.rb
serverspec-2.38.1 spec/type/base/php_config_spec.rb
serverspec-2.38.0 spec/type/base/php_config_spec.rb