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

More helpful output

This commit is contained in:
Mike Perham 2021-12-06 10:30:04 -08:00
parent 6c7d40bac6
commit 43e0354481
2 changed files with 3 additions and 13 deletions

View file

@ -48,7 +48,7 @@ module Sidekiq
}
def self.°°
puts "Calm down, yo."
puts "Take a deep breath and count to ten..."
end
def self.options

View file

@ -19,18 +19,8 @@ describe Sidekiq do
end
end
describe "❨╯°□°❩╯︵┻━┻" do
before { $stdout = StringIO.new }
after { $stdout = STDOUT }
it "allows angry developers to express their emotional constitution and remedies it" do
Sidekiq.°°
assert_equal "Calm down, yo.\n", $stdout.string
end
end
describe "lifecycle events" do
it "handles invalid input" do
describe 'lifecycle events' do
it 'handles invalid input' do
Sidekiq.options[:lifecycle_events][:startup].clear
e = assert_raises ArgumentError do