spec/lib/appsignal/hooks/sidekiq_spec.rb in appsignal-1.2.1.beta.2 vs spec/lib/appsignal/hooks/sidekiq_spec.rb in appsignal-1.2.1.beta.3

- old
+ new

@@ -30,11 +30,12 @@ 'retry_count' => "0", 'queue' => 'default', 'extra' => 'data' }, :params => ['Model', "1"], - :queue_start => Time.parse('01-01-2001 10:00:00UTC') + :queue_start => Time.parse('01-01-2001 10:00:00UTC'), + :queue_time => 60000.to_f ) end context "when wrapped by ActiveJob" do let(:item) {{ @@ -60,10 +61,11 @@ :method => 'perform', :metadata => { 'queue' => 'default' }, :params => ['Model', "1"], - :queue_start => Time.parse('01-01-2001 10:00:00UTC').to_f + :queue_start => Time.parse('01-01-2001 10:00:00UTC').to_f, + :queue_time => 60000.to_f ) end end after do