Sha256: 5fed4c6382d104df615d7dc92829c7268904ebaef64f93f3be6126bc52207146

Contents?: true

Size: 551 Bytes

Versions: 1

Compression:

Stored size: 551 Bytes

Contents

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

describe ElogBakufu do
  let(:url) { 'http://bakufu.jp/archives/8124' }
  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 == 'いいともより木下優樹菜の子持ち生乳チラ | お宝エログ幕府' }
  its(:base_dir) { should == 'elog_bakufu' }
  its(:sub_directory) { should == '8124' }
  its("targets.count") { should == 31 }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ero_getter-1.7.0 spec/downloader/elog_bakufu_spec.rb