Sha256: fa432cf06199d11ce8b5fdb1db10d7125141d2bede1c7104f75047ced1e628b0
Contents?: true
Size: 576 Bytes
Versions: 9
Compression:
Stored size: 576 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 FileUtils.stub(:mkdir_p) @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