Skip to content

Commit

Permalink
Fix Rubocop indentation
Browse files Browse the repository at this point in the history
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
  • Loading branch information
roidelapluie committed Mar 16, 2017
1 parent a20eb70 commit 6f5231e
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions spec/classes/php_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,15 @@
it { is_expected.to contain_php__fpm__pool('www').with(user: 'nginx') }

dstfile = case facts[:osfamily]
when 'Debian'
'/etc/php5/fpm/pool.d/www.conf'
when 'Suse'
'/etc/php5/fpm/pool.d/www.conf'
when 'RedHat'
'/etc/php-fpm.d/www.conf'
when 'FreeBSD'
'/usr/local/etc/php-fpm.d/www.conf'
end
when 'Debian'
'/etc/php5/fpm/pool.d/www.conf'
when 'Suse'
'/etc/php5/fpm/pool.d/www.conf'
when 'RedHat'
'/etc/php-fpm.d/www.conf'
when 'FreeBSD'
'/usr/local/etc/php-fpm.d/www.conf'
end

it { is_expected.to contain_file(dstfile).with_content(%r{user = nginx}) }
end
Expand All @@ -73,15 +73,15 @@
it { is_expected.to contain_class('php::fpm').with(group: 'nginx') }
it { is_expected.to contain_php__fpm__pool('www').with(group: 'nginx') }
dstfile = case facts[:osfamily]
when 'Debian'
'/etc/php5/fpm/pool.d/www.conf'
when 'Suse'
'/etc/php5/fpm/pool.d/www.conf'
when 'RedHat'
'/etc/php-fpm.d/www.conf'
when 'FreeBSD'
'/usr/local/etc/php-fpm.d/www.conf'
end
when 'Debian'
'/etc/php5/fpm/pool.d/www.conf'
when 'Suse'
'/etc/php5/fpm/pool.d/www.conf'
when 'RedHat'
'/etc/php-fpm.d/www.conf'
when 'FreeBSD'
'/usr/local/etc/php-fpm.d/www.conf'
end

it { is_expected.to contain_file(dstfile).with_content(%r{group = nginx}) }
end
Expand Down

0 comments on commit 6f5231e

Please sign in to comment.