Sha256: 8d4c295449a1817578481490468ea87df398750b9cef9354fcf9eeb5d98559f9
Contents?: true
Size: 639 Bytes
Versions: 6
Compression:
Stored size: 639 Bytes
Contents
require 'spec_helper' describe PmStyle do let(:url) { 'http://mxserver08.net/new_pm/main/movie13716.html' } subject { @dl } before do FileUtils.stub(:mkdir_p) 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
6 entries across 6 versions & 1 rubygems