require 'rails_helper'

RSpec.describe ChangeDealer do
  describe "#call" do
    subject(:service) { ChangeDealer.new(game) }

    let(:game) { Game.create! }

    it "adds a DealerChanged event to the game" do
      service.call
      game.reload
      expect(game.events.last).to be_instance_of DealerChanged
    end
  end
end

Add RSpec test for ChangeDealer
Add RSpec test for ChangeDealer
