Sha256: e6a6f738a3d3dd3f143b0a7d924481f1ac378b07361b3054da49d58ccf3e7e87
Contents?: true
Size: 631 Bytes
Versions: 3
Compression:
Stored size: 631 Bytes
Contents
require 'spec_helper' describe PmStyle do let(:url) { 'http://mxserver08.net/new_pm/main/movie13716.html' } subject { @dl } before do EroGetter.stub(:mkdir) fake(:get, url, 'pm_style/test.html') @dl = PmStyle.new(url) end its(:base_dir) { should == 'pm_style' } its(:targets) { should == [ 'http://hpcgi2.nifty.com/r-seven/page.cgi?file=copy2/pm/120526/pm_chu2800a.zip', 'http://hpcgi2.nifty.com/r-seven/page.cgi?file=copy2/pm/120526/pm_chu2800b.zip', 'http://hpcgi2.nifty.com/r-seven/page.cgi?file=copy2/pm/120526/pm_chu2800c.zip'] } its(:sub_directory) { should == 'chu2800' } end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ero_getter-1.1.2 | spec/downloader/pm_style_spec.rb |
ero_getter-1.1.1 | spec/downloader/pm_style_spec.rb |
ero_getter-1.1.0 | spec/downloader/pm_style_spec.rb |