Skip to content

Commit

Permalink
Fix a spec for Puppet 4.
Browse files Browse the repository at this point in the history
  • Loading branch information
jairojunior committed Nov 2, 2016
1 parent d4e522e commit 51f3f94
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ gem 'puppet-syntax'
gem 'facter', '>= 1.6.10'
# gem 'ci_reporter_rspec'
gem 'rubocop', :git => 'https://github.com/bbatsov/rubocop', :require => false
gem 'rubocop-rspec'
gem 'rubocop-rspec', '1.5.0'
gem 'puppet-blacksmith'
gem 'fog', '>= 1.25.0'
gem 'fog-google', '= 0.1.0'
Expand Down
6 changes: 3 additions & 3 deletions spec/classes/service_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
{ operatingsystem: 'CentOS',
kernel: 'Linux',
osfamily: 'RedHat',
operatingsystemmajrelease: 6 }
operatingsystemmajrelease: '6' }
end

it { is_expected.to contain_file('/etc/default/wildfly.conf') }
Expand All @@ -30,7 +30,7 @@
{ operatingsystem: 'CentOS',
kernel: 'Linux',
osfamily: 'RedHat',
operatingsystemmajrelease: 7 }
operatingsystemmajrelease: '7' }
end

it { is_expected.to contain_file('/etc/default/wildfly.conf') }
Expand All @@ -51,7 +51,7 @@
{ operatingsystem: 'Debian',
kernel: 'Linux',
osfamily: 'Debian',
operatingsystemmajrelease: 10 }
operatingsystemmajrelease: '10' }
end

it { is_expected.to contain_file('/etc/default/wildfly') }
Expand Down

0 comments on commit 51f3f94

Please sign in to comment.