<commit_before>require "spec_helper"

describe Onebox::Engine::ClickThroughOnebox do
  let(:link) { "http://www.clickthough.com"}
  let(:html) { described_class.new(link).to_html }

  before do
    fake(link, response("clickthrough.response"))
  end

  it "returns video title" do
    expect(html).to include("<NAME> - Knock You down")
  end

  it "returns video description" do
    expect(html).to include("<NAME> gets taken down by love once again")
  end

  it "returns URL" do
    expect(html).to include(link)
  end
end<commit_msg>fix expected title in spec fixes #60<commit_after>require "spec_helper"

describe Onebox::Engine::ClickThroughOnebox do
  let(:link) { "http://www.clickthough.com"}
  let(:html) { described_class.new(link).to_html }

  before do
    fake(link, response("clickthrough.response"))
  end

  it "returns video title" do
    expect(html).to include("<NAME> - Knock You Down")
  end

  it "returns video description" do
    expect(html).to include("<NAME> gets taken down by love once again")
  end

  it "returns URL" do
    expect(html).to include(link)
  end
end
{'fraction_non_alphanumeric': 0.12511415525114156, 'fraction_numerical': 0.0018264840182648401, 'mean_word_length': 4.145539906103286, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '5440561', 'n_tokens_mistral': 356, 'n_tokens_neox': 339, 'n_words': 101}