Sha256: 627fc6c166dca2cb1983d8f2b53898747dfe08328c70a01fbb67aac4fb99a606

Contents?: true

Size: 514 Bytes

Versions: 7

Compression:

Stored size: 514 Bytes

Contents

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

describe MinkChannel do
  let(:url) { "http://minkch.com/archives/51930285.html" }
  subject { @dl }
  before do
    EroGetter.stub(:mkdir)
    @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

7 entries across 7 versions & 1 rubygems

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