Sha256: 9ff44f7ab8f4cd0eaaff1668ca8ba9524cd7783bfb2da173d09b0c94e7cd9845

Contents?: true

Size: 574 Bytes

Versions: 9

Compression:

Stored size: 574 Bytes

Contents

# -*- coding: utf-8 -*-
require 'spec_helper'

describe WakutekaSokuhou do
  let(:url) { 'http://blog.livedoor.jp/wakusoku/archives/1461175.html' }
  subject { @dl }
  before do
    EroGetter.stub(:mkdir)
    @dl = WakutekaSokuhou.new(url)
    fake(:get, url, 'wakuteka_sokuhou/sample.html')
  end

  its(:title) { should == 'わくてか速報 : 【エロ画像】抜かずにはいられない虹エロ画像パート1194【詳細付き】 - livedoor Blog(ブログ)' }
  its(:sub_directory) { should == '1461175' }
  its("targets.count") { should == 37 }
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
ero_getter-1.3.8 spec/downloader/wakuteka_sokuhou_spec.rb
ero_getter-1.3.7 spec/downloader/wakuteka_sokuhou_spec.rb
ero_getter-1.3.6 spec/downloader/wakuteka_sokuhou_spec.rb
ero_getter-1.3.5 spec/downloader/wakuteka_sokuhou_spec.rb
ero_getter-1.3.4 spec/downloader/wakuteka_sokuhou_spec.rb
ero_getter-1.3.3 spec/downloader/wakuteka_sokuhou_spec.rb
ero_getter-1.3.2 spec/downloader/wakuteka_sokuhou_spec.rb
ero_getter-1.3.1 spec/downloader/wakuteka_sokuhou_spec.rb
ero_getter-1.3.0 spec/downloader/wakuteka_sokuhou_spec.rb