<commit_before>include 'spec_helper'

describe User do
  it { should validate_presence_of(:email) }
  it { should validate_presence_of(:password) }
  
  context 'when already registered from a provider'
    it 'gets the user' do
      
    end
  end
  
  context 'when email from provider already exist'
    it 'gets the user' do
      
    end
  end
  
  context 'when registering from external provider'
    it 'creates a new user' do
      
    end
  end
  
  context 'before create'
    it 'creates a profile' do
      
    end
  end
  
  context 'when destroying'
    it 'destroy affiliated profile' do
      
    end
  end
end<commit_msg>Update user_spec.rb<commit_after>include 'spec_helper'

describe User do
  it { should validate_presence_of(:email) }
  it { should validate_presence_of(:password) }
  
  context 'when already registered from a provider'
    it 'gets the user' do
      
    end
  end
  
  context 'when email from provider already exist'
    it 'gets the user' do
      
    end
  end
  
  context 'when registering from external provider'
    it 'creates a new user' do
      
    end
  end
  
  context 'before create'
    it 'creates a profile' do
      
    end
  end
  
  context 'when destroying'
    it 'destroys affiliated profile' do
      
    end
  end
end
{'fraction_non_alphanumeric': 0.054826254826254826, 'fraction_numerical': 0.0, 'mean_word_length': 2.3488372093023258, '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': '7427388', 'n_tokens_mistral': 404, 'n_tokens_neox': 397, 'n_words': 148}