11 lines
246 B
Ruby
11 lines
246 B
Ruby
require "rails_helper"
|
|
|
|
RSpec.describe MatchmakingSweepJob, type: :job do
|
|
describe "#perform" do
|
|
it "calls MatchmakingService.sweep" do
|
|
expect(MatchmakingService).to receive(:sweep)
|
|
described_class.new.perform
|
|
end
|
|
end
|
|
end
|