Skip to content

Commit

Permalink
comparison to Undef and test (fix typo)
Browse files Browse the repository at this point in the history
  • Loading branch information
thejambavan committed Nov 10, 2023
1 parent 52e777e commit 75f2e7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/classes/redis_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1693,11 +1693,11 @@ class { 'redis':
describe 'test rdb-save-incremental-fsync disabled for redis6' do

Check failure on line 1693 in spec/classes/redis_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Static validations

Layout/TrailingWhitespace: Trailing whitespace detected. (https://rubystyle.guide#no-trailing-whitespace)
let(:params) do

Check failure on line 1694 in spec/classes/redis_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Static validations

Layout/TrailingWhitespace: Trailing whitespace detected. (https://rubystyle.guide#no-trailing-whitespace)
{

Check failure on line 1695 in spec/classes/redis_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Static validations

Layout/TrailingWhitespace: Trailing whitespace detected. (https://rubystyle.guide#no-trailing-whitespace)
rdb_save_incremental_fsync: false ,
rdb_save_incremental_fsync: false,

Check failure on line 1696 in spec/classes/redis_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Static validations

Layout/TrailingWhitespace: Trailing whitespace detected. (https://rubystyle.guide#no-trailing-whitespace)
}

Check failure on line 1697 in spec/classes/redis_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Static validations

Layout/TrailingWhitespace: Trailing whitespace detected. (https://rubystyle.guide#no-trailing-whitespace)
end

Check failure on line 1698 in spec/classes/redis_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Static validations

Layout/TrailingWhitespace: Trailing whitespace detected. (https://rubystyle.guide#no-trailing-whitespace)

Check failure on line 1699 in spec/classes/redis_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Static validations

Layout/TrailingWhitespace: Trailing whitespace detected. (https://rubystyle.guide#no-trailing-whitespace)
it { is_expected.to contain_file(config_file_orig).with('content' => %r{^rdb-save-incremental-fsync ino$}) }
it { is_expected.to contain_file(config_file_orig).with('content' => %r{^rdb-save-incremental-fsync no$}) }

Check failure on line 1700 in spec/classes/redis_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Static validations

Layout/TrailingWhitespace: Trailing whitespace detected. (https://rubystyle.guide#no-trailing-whitespace)
end

Check failure on line 1701 in spec/classes/redis_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Static validations

Layout/BlockAlignment: `end` at 1701, 7 is not aligned with `describe 'test rdb-save-incremental-fsync disabled for redis6' do ` at 1693, 6.

Check failure on line 1701 in spec/classes/redis_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Static validations

Layout/TrailingWhitespace: Trailing whitespace detected. (https://rubystyle.guide#no-trailing-whitespace)


Expand Down

0 comments on commit 75f2e7c

Please sign in to comment.