Skip to content

Commit

Permalink
Fix comparison code in test
Browse files Browse the repository at this point in the history
  • Loading branch information
ekohl committed Oct 8, 2020
1 parent 026d474 commit 495727b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/classes/foreman_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
end

it 'should contain foreman::config::apache' do
passenger_ruby = if facts[:osfamily] == 'RedHat' && facts[:os]['release']['major'] = '7'
passenger_ruby = if facts[:osfamily] == 'RedHat' && facts[:os]['release']['major'] == '7'
'/usr/bin/tfm-ruby'
elsif facts[:osfamily] == 'Debian'
'/usr/bin/foreman-ruby'
Expand Down

0 comments on commit 495727b

Please sign in to comment.