Sha256: 760cadad3fe4bb3f470c1dbfc80162dd49a092064b62d92cb0c46dd120db81ae
Contents?: true
Size: 516 Bytes
Versions: 9
Compression:
Stored size: 516 Bytes
Contents
# -*- coding: utf-8 -*- require 'spec_helper' describe MinkChannel do let(:url) { "http://minkch.com/archives/51930285.html" } subject { @dl } before do FileUtils.stub(:mkdir_p) @dl = MinkChannel.new(url) fake(:get, url, 'mink_channel/sample.html') end its(:title) { should == '顔出しNGの現役女子大生グラドルが手ブラでおっぱい隠して話題に - みんくちゃんねる' } its(:sub_directory) { should == '51930285' } its('targets.count') { should == 10 } end
Version data entries
9 entries across 9 versions & 1 rubygems