Sha256: e122eb506804204820204b02775d55a43abaa0bc9f89a7970b4dbafdd42743ea

Contents?: true

Size: 401 Bytes

Versions: 4

Compression:

Stored size: 401 Bytes

Contents

require "spec_helper"

Server = Saber::AutoFetcher::Server
DRbServer = Saber::AutoFetcher::DRbServer
public_all_methods DRbServer

describe DRbServer do
  describe "#build_files" do
    it "works" do
      s = DRbServer.new(nil)
      s.build_files("prison.break", "terra.nova.mkv").sort.should == %w[prison.break/01.prison.break.mkv prison.break/02.prison.break.mkv terra.nova.mkv]
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
saber-1.1.1 spec/saber/autofetcher/server_spec.rb
saber-1.1.0 spec/saber/autofetcher/server_spec.rb
saber-1.0.2 spec/saber/autofetcher/server_spec.rb
saber-1.0.1 spec/saber/autofetcher/server_spec.rb