From e7a512e0163d3f198b44402dc3555a665dd4081d Mon Sep 17 00:00:00 2001 From: Morgan Haskel Date: Fri, 9 May 2014 14:29:19 -0400 Subject: [PATCH] Fix issues in the travis-ci build. --- spec/classes/mod/php_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/classes/mod/php_spec.rb b/spec/classes/mod/php_spec.rb index 32b2ff099..e228dd781 100644 --- a/spec/classes/mod/php_spec.rb +++ b/spec/classes/mod/php_spec.rb @@ -70,7 +70,7 @@ let :params do { :extensions => ['.php','.php5']} end - it { should contain_file("php5.conf").with_content =~ /AddHandler php5-script .php .php5\n/ } + it { should contain_file("php5.conf").with_content(/AddHandler php5-script .php .php5\n/) } end context "with specific version" do let :pre_condition do