<commit_before>require_relative '../lib/tweet'

describe Tweet do
  before do
    # FIXME: dry (factory girl -esque)
    @tweet = Tweet.new(
      '318713868924903424',
      '2013-04-01 13:18:02 +0000',
      'adafruit',
      'Story Tape http://t.co/1KXSm9ED1G'
    )
  end

  it "generates a URL for itself" do
    @tweet.url.should == 'https://twitter.com/adafruit/status/318713868924903424'
  end

end
<commit_msg>cleanup<commit_after>require_relative '../lib/tweet'

describe Tweet do
  before do
    @tweet = Tweet.new(
      '318713868924903424',
      '2013-04-01 13:18:02 +0000',
      'adafruit',
      'Story Tape http://t.co/1KXSm9ED1G'
    )
  end

  it "generates a URL for itself" do
    @tweet.url.should == 'https://twitter.com/adafruit/status/318713868924903424'
  end

end

{'fraction_non_alphanumeric': 0.13493064312736444, 'fraction_numerical': 0.1437578814627995, 'mean_word_length': 2.8173076923076925, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '4848955', 'n_tokens_mistral': 386, 'n_tokens_neox': 315, 'n_words': 63}