<commit_before>require_relative '../../app/services/create_game'

describe CreateGame do

end<commit_msg>Added CreateGame tests<commit_after>require_relative '../../app/services/create_game'

describe CreateGame do

  it "creates a game object" do
    expect(CreateGame.new.call(2)).to be_a Game
  end

  it "creates four players when you ask it to" do
    expect(CreateGame.new.call(4).players.size).to eq 4
  end
end
{'fraction_non_alphanumeric': 0.11004784688995216, 'fraction_numerical': 0.007177033492822967, 'mean_word_length': 4.109756097560975, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1536670', 'n_tokens_mistral': 137, 'n_tokens_neox': 133, 'n_words': 37}