Sha256: 67a95b78001a999fd194594cb10cb462254a33a852f28c40d079fa55d596ca73

Contents?: true

Size: 527 Bytes

Versions: 1

Compression:

Stored size: 527 Bytes

Contents

require "spec_helper"

Downloader = Saber::Downloader


uri="Microsoft Office 2010 Professional Plus (Activator Included)/KMS Activator for Microsoft Office 2010 Applications x86 x64 Multilingual-FIXISO~DiBYA/mini-KMS_Activator_v1.053.exe"


xdescribe Downloader do
  describe "test everyting" do
    it "works" do
     XMLRPC::Client.stub(:new2)

     d = Downloader.new

     d.should_receive(:aria2_add).with(["ftp://seedbox/bt/foo/bar.mkv"], {dir: "#{$spec_data}/download/foo"})
     d.add("foo/bar.mkv")
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
saber-1.0.0 spec/saber/downloader_spec.rb