Skip to content

Commit

Permalink
Fix rubocop tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pcfens committed Dec 11, 2017
1 parent eb0bbeb commit 2aa7807
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions spec/acceptance/001_basic_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

describe 'filebeat class' do
let(:pp) do
<<-EOS
<<-HEREDOC
if $::osfamily == 'Debian' {
include ::apt
Expand Down Expand Up @@ -73,7 +73,7 @@ class { 'filebeat':
}
}
}
EOS
HEREDOC
end

context 'with $major_version = 5' do
Expand Down
2 changes: 1 addition & 1 deletion spec/unit/facter/filebeat_version_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Facter.clear
Facter.fact(:kernel).stubs(:value).returns('Linux')
end
context 'on a Linux host' do
context 'when on a Linux host' do
before :each do
File.stubs(:executable?)
Facter::Util::Resolution.stubs(:exec)
Expand Down

0 comments on commit 2aa7807

Please sign in to comment.