Skip to content
This repository was archived by the owner on Dec 2, 2020. It is now read-only.

Commit eb249f4

Browse files
committed
Matches php.ini spec file to the template.
1 parent 28257a7 commit eb249f4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spec/defines/php_project_spec.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,9 @@
154154
end
155155

156156
it do
157+
should contain_class("mysql::config")
157158
should contain_mysql__db("a_database_name")
159+
158160
should contain_file("/test/boxen/config/php/5.4.17/php.ini").with({
159161
:content => File.read("spec/fixtures/php-with-mysql.ini"),
160162
:require => "File[/test/boxen/config/php/5.4.17]"

templates/php.ini.erb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1016,7 +1016,6 @@ pdo_mysql.cache_size = 2000
10161016
; http://php.net/pdo_mysql.default-socket
10171017
pdo_mysql.default_socket=<%= scope.lookupvar('::mysql::config::socket') %>
10181018
<% end -%>
1019-
10201019
[Phar]
10211020
; http://php.net/phar.readonly
10221021
;phar.readonly = On
@@ -1270,7 +1269,6 @@ mysqlnd.collect_memory_statistics = Off
12701269
; http://php.net/mysqlnd.net_read_buffer_size
12711270
;mysqlnd.net_read_buffer_size = 32768
12721271
<% end -%>
1273-
12741272
[OCI8]
12751273

12761274
; Connection: Enables privileged connections using external

0 commit comments

Comments
 (0)