Sha256: 5a9e97129cbdc0c5488b21c8223ebb14713a58aa74c5b9cb9de79f18730c80c4

Contents?: true

Size: 587 Bytes

Versions: 9

Compression:

Stored size: 587 Bytes

Contents

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

describe GazouSokuhou do
  let(:url) { 'http://stalker.livedoor.biz/archives/51977311.html' }
  subject { @dl }

  before do
    FileUtils.stub(:mkdir_p)
    @dl = GazouSokuhou.new(url)
    fake(:get, url, 'gazou_sokuhou/sample.html')
  end
  its(:name) { should == 'がぞー速報' }
  its(:title) { should == '6月になったし2次水着画像どんどん貼ってくよー  -  がぞ~速報' }
  its(:base_dir) { should == 'gazou_sokuhou' }
  its(:sub_directory) { should == '51977311' }
  its("targets.count") { should == 31 }
end

Version data entries

9 entries across 9 versions & 1 rubygems

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