<commit_before>require 'spec_helper'

describe Comment do
  
  describe "Scopes" do

    describe "#default scope" do
      before :each do
        @first_comment  = Factory.create(:comment, :created_at => Time.now)
        @second_comment = Factory.create(:comment, :created_at => (Time.now + 2.days))
      end
      
      it "should return a list of comments ordered by creation date" do
        comments = Comment.all
        comments.should == [@second_comment, @first_comment]
      end
    end
  end
end
<commit_msg>Updated broken example<commit_after>require 'spec_helper'

describe Comment do
  
  describe "Scopes" do

    describe "#default scope" do
      before :each do
        @first_comment  = Factory.create(:comment, :created_at => Time.now)
        @second_comment = Factory.create(:comment, :created_at => (Time.now + 2.days))
      end
      
      it "should return a list of comments ordered by creation date" do
        comments = Comment.all
        comments.should == [@first_comment, @second_comment]
      end
    end
  end
end

{'fraction_non_alphanumeric': 0.09271523178807947, 'fraction_numerical': 0.001892147587511826, 'mean_word_length': 2.712280701754386, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '7458175', 'n_tokens_mistral': 309, 'n_tokens_neox': 300, 'n_words': 94}