<commit_before># coding: utf-8
require 'spec_helper'

describe Project do
  let(:project){ Project.new :goal => 3000 }
  let(:user){ FactoryGirl.create(:user) }
  let(:channel){ FactoryGirl.create(:channel, email: user.email, trustees: [ user ]) }
  let(:channel_project){ FactoryGirl.create(:project, channels: [ channel ]) }

  describe "associations" do
    it{ should belong_to :user }
    it{ should belong_to :category }<commit_msg>fix some specs<commit_after># coding: utf-8
require 'spec_helper'

describe Project do
  let(:project){ FactoryGirl.build(:project, goal: 3000) }
  let(:user){ FactoryGirl.create(:user) }
  let(:channel){ FactoryGirl.create(:channel, email: user.email, trustees: [ user ]) }
  let(:channel_project){ FactoryGirl.create(:project, channels: [ channel ]) }

  describe "associations" do
    it{ should belong_to :user }
    it{ should belong_to :category }
{'fraction_non_alphanumeric': 0.143658810325477, 'fraction_numerical': 0.01122334455667789, 'mean_word_length': 5.194444444444445, 'pattern_counts': {'":': 0, '<': 3, '<?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': '1434277', 'n_tokens_mistral': 294, 'n_tokens_neox': 270, 'n_words': 72}