<commit_before>require 'rails_helper'

RSpec.describe User, type: :model do
  it "has a valid factory" do
    FactoryGirl.create(:user).should be_valid
  end
  xit "has a valid name" do
    #names cannot be greater than 50 characters

  end
  xit "is invalid without a name"
  xit "has a valid email"<commit_msg>Modify syntax to correct deprecated syntax being used.<commit_after>require 'rails_helper'

RSpec.describe User, type: :model do
  it "has a valid factory" do
    expect(FactoryGirl.create(:user)).to be_valid
  end
  xit "has a valid name" do
    #names cannot be greater than 50 characters

  end
  xit "is invalid without a name"
  xit "has a valid email"
{'fraction_non_alphanumeric': 0.07324364723467862, 'fraction_numerical': 0.005979073243647235, 'mean_word_length': 3.820143884892086, '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': '7024815', 'n_tokens_mistral': 220, 'n_tokens_neox': 200, 'n_words': 90}