<commit_before>require 'spec_helper'
require 'bibliografia/bibliog'

describe Bibliog do
    before :all do
        @b1 = Bibliog.new(['<NAME>','<NAME>',' <NAME>'], 'Programming Ruby 1.9 & 2.0: The Pragmatic Programmers’ Guide
')
    end
    describe "# almacenamiento de autores" do
        it "Debe existir uno o mas autores" do
             @b1.autores.should eq(['<NAME>', '<NAME>',' <NAME>'])
        end
    end
    describe "# almacenamiento de titulo" do
        it "Debe existir un titulo" do
             @b1.titulo.should eq('Programming Ruby 1.9 & 2.0: The Pragmatic Programmers’ Guide
')
        end
    end
end<commit_msg>Prueba con serie o sin serie<commit_after>require 'spec_helper'
require 'bibliografia/bibliog'

describe Bibliog do
    before :all do
        @b1 = Bibliog.new(['<NAME>','<NAME>',' <NAME>'], 'Programming Ruby 1.9 & 2.0: The Pragmatic Programmers’ Guide','The Facets of Ruby')
        @b2 = Bibliog.new(['<NAME>','<NAME>',' <NAME>'], 'Programming Ruby 1.9 & 2.0: The Pragmatic Programmers’ Guide')
    end
    describe "# almacenamiento de autores" do
        it "Debe existir uno o mas autores" do
             @b1.autores.should eq(['<NAME>', '<NAME>',' <NAME>'])
        end
    end
    describe "# almacenamiento de titulo" do
        it "Debe existir un titulo" do
             @b1.titulo.should eq('Programming Ruby 1.9 & 2.0: The Pragmatic Programmers’ Guide')
        end
    end
    describe "# almacenamiento de serie" do
        it "Debe existir una serie" do
             @b1.serie.should eq('The Facets of Ruby')
        end
        it "No debe existir una serie" do
             @b1.serie.should eq('none')
        end
    end
end
{'fraction_non_alphanumeric': 0.12797619047619047, 'fraction_numerical': 0.017261904761904763, 'mean_word_length': 2.5614406779661016, 'pattern_counts': {'":': 0, '<': 18, '<?xml version=': 0, '>': 18, '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': '741425', 'n_tokens_mistral': 562, 'n_tokens_neox': 559, 'n_words': 174}