require 'rails_helper'

RSpec.describe GameState do
  subject(:game_state) { GameState.new }

  context "with no modifications" do
    describe "#deck" do
      it "should have 43 cards" do
        expect(game_state.deck).to have_exactly(43).items
      end

      it "should be a complete deck" do
        expect(game_state.deck).to match_array(GameState::COMPLETE_DECK)
      end
    end

    describe "#kitty" do
      it "should be empty" do
        expect(game_state.kitty).to be_empty
      end
    end

    describe "#dealer" do
      it "should be nil" do
        expect(game_state.dealer).to be nil
      end
    end
  end
end

require 'rails_helper'

RSpec.describe GameState do
  subject(:game_state) { GameState.new }

  context "with no modifications" do
    describe "#deck" do
      it "should have 43 cards" do
        expect(game_state.deck).to have_exactly(43).items
      end

      it "should be a complete deck" do
        expect(game_state.deck).to match_array(GameState::COMPLETE_DECK)
      end
    end

    describe "#kitty" do
      it "should be empty" do
        expect(game_state.kitty).to be_empty
      end
    end

    describe "#dealer" do
      it "should be nil" do
        expect(game_state.dealer).to be nil
      end
    end

    describe "hands" do
      it "are all empty" do
        expect(game_state.hands.values.flatten).to be_empty
      end
    end
  end
end

Test that all hands are initially empty
Test that all hands are initially empty
