<commit_before>require 'spec_helper'

describe FCReminder::Providers::Base do
  subject(:provider) { FCReminder::Providers::Base.new }

  describe "#initialize" do
    it "sets #client" do
      expect(provider.client).to be_instance_of Mechanize
    end
  end

  describe "#client" do
    it { expect(provider).not_to respond_to(:client=) }
  end

  describe "#url" do
    it { expect(provider.url).to be_empty }
  end

  describe "#run" do
    let(:team_name) { "Barcelona" }

    it { expect(provider.run(team_name)).to be_instance_of(Hash) }
    it { expect(provider.run(team_name)).to be_empty }
  end
end
<commit_msg>Use more generic team name<commit_after>require 'spec_helper'

describe FCReminder::Providers::Base do
  subject(:provider) { FCReminder::Providers::Base.new }

  describe "#initialize" do
    it "sets #client" do
      expect(provider.client).to be_instance_of Mechanize
    end
  end

  describe "#client" do
    it { expect(provider).not_to respond_to(:client=) }
  end

  describe "#url" do
    it { expect(provider.url).to be_empty }
  end

  describe "#run" do
    let(:team_name) { "Team Name" }

    it { expect(provider.run(team_name)).to be_instance_of(Hash) }
    it { expect(provider.run(team_name)).to be_empty }
  end
end

{'fraction_non_alphanumeric': 0.12390786338363781, 'fraction_numerical': 0.0, 'mean_word_length': 3.883720930232558, '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': '5700852', 'n_tokens_mistral': 430, 'n_tokens_neox': 420, 'n_words': 97}