<commit_before>require 'rails_helper'

module Yoolk
  module Liquid
    describe Listing::LinkDrop do
      it { should have_attribute(:id) }
      it { should have_attribute(:title) }
      it { should have_attribute(:link) }
      it { should have_attribute(:description) }
      it { should have_attribute(:created_at) }
      it { should have_attribute(:updated_at) }
    end

    describe Listing::LinkDrop, 'methods' do
      let(:drop) { described_class.new(double) }

      it '#url' do
        expect(drop).to receive(:link_url).with(drop)

        drop.url
      end
    end
  end<commit_msg>[#88127426] fix error specs<commit_after>require 'rails_helper'

module Yoolk
  module Liquid
    describe Listing::LinkDrop do
      it { should have_attribute(:id) }
      it { should have_attribute(:title) }
      it { should have_attribute(:link) }
      it { should have_attribute(:description) }
      it { should have_attribute(:created_at) }
      it { should have_attribute(:updated_at) }
    end
  end
{'fraction_non_alphanumeric': 0.1016781836130306, 'fraction_numerical': 0.007897334649555774, 'mean_word_length': 3.1052631578947367, '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': '4434625', 'n_tokens_mistral': 318, 'n_tokens_neox': 302, 'n_words': 74}