Sha256: a885818c165881ec06a75201440b0de6fd77e953982f8c00a9fca82f44b0eb27

Contents?: true

Size: 582 Bytes

Versions: 5

Compression:

Stored size: 582 Bytes

Contents

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

describe ElogBakufu do
  let(:url) { 'http://blog.livedoor.jp/samplems-bakufu/archives/51351906.html' }
  subject { @dl }

  before do
    EroGetter.stub(:mkdir)
    @dl = ElogBakufu.new(url)
    fake(:get, url, 'elog_bakufu/sample.html')
  end
  its(:name) { should == 'エログ幕府' }
  its(:title) { should == '制服女子がM字開脚してるエロ画像 part2 - お宝エログ幕府' }
  its(:base_dir) { should == 'elog_bakufu' }
  its(:sub_directory) { should == '51351906' }
  its("targets.count") { should == 40 }
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ero_getter-1.3.8 spec/downloader/elog_bakufu_spec.rb
ero_getter-1.3.7 spec/downloader/elog_bakufu_spec.rb
ero_getter-1.3.6 spec/downloader/elog_bakufu_spec.rb
ero_getter-1.3.5 spec/downloader/elog_bakufu_spec.rb
ero_getter-1.3.4 spec/downloader/elog_bakufu_spec.rb