We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56d8d5b commit 9516b29Copy full SHA for 9516b29
test/plugin/sidekiq_test.rb
@@ -23,8 +23,8 @@ def test_callback
23
agent.expects(:queue_job)
24
Sidekiq::Testing.inline! { SampleJob.perform_async(1) }
25
assert_equal("RorVsWild::Plugin::SidekiqTest::SampleJob", agent.current_execution.name)
26
- assert_equal(1, agent.current_execution.sections.size)
27
- assert_equal("RorVsWild::Plugin::SidekiqTest::SampleJob#perform", agent.current_execution.sections[0].command)
+ assert_equal(1, current_sections_without_gc.size)
+ assert_equal("RorVsWild::Plugin::SidekiqTest::SampleJob#perform", current_sections_without_gc[0].command)
28
end
29
30
def test_callback_on_exception
0 commit comments