Sha256: 86d2cf235e639ecdbe26df766c8fa59c763c5cf41d858531acaf8ce5b8120875
Contents?: true
Size: 637 Bytes
Versions: 10
Compression:
Stored size: 637 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 == 'pm_chu_002800' } end
Version data entries
10 entries across 10 versions & 1 rubygems