Skip to content

Commit

Permalink
Fix rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
robertomiranda committed Aug 16, 2024
1 parent f825055 commit 6c1e8d1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions spec/promenade/raindrops/stats_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,13 @@
end

it "sets the metrics correctly" do
stats = Promenade::Raindrops::Stats.new

expect(Promenade).to receive(:metric).with(:rack_active_workers).and_return(metric)
expect(Promenade).to receive(:metric).with(:rack_queued_requests).and_return(metric)

expect(metric).to receive(:set).with({}, 1)
expect(metric).to receive(:set).with({}, 1)

stats.instrument
described_class.instrument
end
end
end

0 comments on commit 6c1e8d1

Please sign in to comment.