<commit_before>require "spec_helper"

describe Onebox::View do
  let(:view) { described_class.new("amazon", true) }
  let(:html) { view.to_html(link: "http://amazon.com") }

  describe "#to_html" do
    it "renders engine partial within layout template" do
      expect(html).to include(%|class="onebox|)
    end
  end
end<commit_msg>remove tests that no longer apply to view #171<commit_after>require "spec_helper"

describe Onebox::View do

  describe "#to_html" do

  end
end
{'fraction_non_alphanumeric': 0.12343096234309624, 'fraction_numerical': 0.006276150627615063, 'mean_word_length': 4.635294117647059, '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': '2107267', 'n_tokens_mistral': 162, 'n_tokens_neox': 154, 'n_words': 44}