<commit_before>require 'rails_helper'

describe Game do 
	let!(:game) { Game.create(score: 10, scrabble_score: 10, level: 1, lines: 3, user_id: 1) }

	context "score" do 
		it "should return score" do 
			expect(game.score).to eq(10)
		end
	end<commit_msg>create user in games model rspec test<commit_after>require 'rails_helper'

describe Game do 
	let!(:game) { Game.create(score: 10, scrabble_score: 10, level: 1, lines: 3, user_id: 1) }
	let!(:user) { User.create(username:"stephen", email:"<EMAIL>", password:"password")}

	context "score" do 
		it "should return score" do 
			expect(game.score).to eq(10)
		end
	end
{'fraction_non_alphanumeric': 0.1414790996784566, 'fraction_numerical': 0.028938906752411574, 'mean_word_length': 4.768518518518518, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '629068', 'n_tokens_mistral': 258, 'n_tokens_neox': 223, 'n_words': 65}