1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

Fix typo in cli test

This commit is contained in:
Anton Davydov 2015-08-06 17:04:10 +03:00
parent 9d2b3c4511
commit 9318208e2e

View file

@ -128,7 +128,7 @@ class TestCli < Sidekiq::Test
it 'appends messages to a logfile' do
File.open(@tmp_log_path, 'w') do |f|
f.puts 'already existant log message'
f.puts 'already existent log message'
end
@cli.parse(['sidekiq', '-L', @tmp_log_path, '-r', './test/fake_env.rb'])
@ -136,7 +136,7 @@ class TestCli < Sidekiq::Test
Sidekiq.logger.info('test message')
log_file_content = File.read(@tmp_log_path)
assert_match(/already existant/, log_file_content, "didn't include the old message")
assert_match(/already existent/, log_file_content, "didn't include the old message")
assert_match(/test message/, log_file_content, "didn't include the new message")
end
end