Sha256: 4c63e8bb6f6250c33a55018584587b915d1a46d6ec18d60306bd9db8818ccf08

Contents?: true

Size: 584 Bytes

Versions: 8

Compression:

Stored size: 584 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
    FileUtils.stub(:mkdir_p)
    @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

8 entries across 8 versions & 1 rubygems

Version Path
ero_getter-1.6.3 spec/downloader/elog_bakufu_spec.rb
ero_getter-1.6.2 spec/downloader/elog_bakufu_spec.rb
ero_getter-1.6.1 spec/downloader/elog_bakufu_spec.rb
ero_getter-1.6.0 spec/downloader/elog_bakufu_spec.rb
ero_getter-1.5.1 spec/downloader/elog_bakufu_spec.rb
ero_getter-1.5.0 spec/downloader/elog_bakufu_spec.rb
ero_getter-1.4.0 spec/downloader/elog_bakufu_spec.rb
ero_getter-1.3.9 spec/downloader/elog_bakufu_spec.rb