describe DMMCrawler::Ranking do
  let(:attachments) { described_class.new(arguments).arts }

  let(:submedia) { 'cg' }
  let(:arguments) { { submedia: submedia, term: term } }

  describe '#arts' do
    after { sleep 2 }

    context 'with length' do
      subject { attachments.length }

      let(:term) { '24' }

      it { is_expected.to be 20 }
    end

    context 'with 24 argument' do
      subject { attachments }

      let(:term) { '24' }

      it { is_expected.not_to be_empty }
      it { is_expected.to all(include(:title, :title_link, :image_url, :description, :tags)) }
    end

    context 'with not registered argument' do
      subject { -> { attachments } }

      let(:term) { 'hoge' }

      it { is_expected.to raise_error(TypeError) }
    end
  end
end

describe DMMCrawler::Ranking do
  let(:attachments) { described_class.new(arguments).arts }

  let(:submedia) { 'cg' }
  let(:arguments) { { submedia: submedia, term: term } }

  describe '#arts' do
    after { sleep 2 }

    context 'with length' do
      subject { attachments.length }

      let(:term) { '24' }

      it { is_expected.to be 20 }
    end

    context 'with 24 argument' do
      subject { attachments }

      let(:term) { '24' }

      it { is_expected.not_to be_empty }
      it { is_expected.to all(include(:title, :title_link, :image_url, :tags)) }
    end

    context 'with not registered argument' do
      subject { -> { attachments } }

      let(:term) { 'hoge' }

      it { is_expected.to raise_error(TypeError) }
    end
  end
end

--- 
+++ 
@@ -21,7 +21,7 @@
       let(:term) { '24' }
 
       it { is_expected.not_to be_empty }
-      it { is_expected.to all(include(:title, :title_link, :image_url, :tags)) }
+      it { is_expected.to all(include(:title, :title_link, :image_url, :description, :tags)) }
     end
 
     context 'with not registered argument' do
Add a attribute for description to an example
