Sha256: c6850df9aaaf8b252ac90a60a9fdad931b9c170a90638645c3a199ab25e73e17
Contents?: true
Size: 347 Bytes
Versions: 9
Compression:
Stored size: 347 Bytes
Contents
require 'spec_helper' describe ShimoSoku do subject { @dl } let(:url) { 'http://blog.livedoor.jp/pramo/archives/51867686.html' } before do FileUtils.stub(:mkdir_p) @dl = ShimoSoku.new(url) fake(:get, url, 'shimo_soku/sample.html') end its(:sub_directory) { should == '51867686' } its("targets.count") { should == 32 } end
Version data entries
9 entries across 9 versions & 1 rubygems