Sha256: 2ad46e30fc6d5bcf8558cad7a7882570a1cebe67116affe19a9e1db936579c5a

Contents?: true

Size: 460 Bytes

Versions: 8

Compression:

Stored size: 460 Bytes

Contents

require 'spec_helper'

describe HLSpider::Spider do
  before do
    @playlist  = "http://host.com/playlist.m3u8"
    @playlists = ["http://host.com/playlist.m3u8", "http://host.com/playlist2.m3u8"]
  end
  
  it "can be created with a String" do
    HLSpider::Spider.new(@playlist).must_be_instance_of(HLSpider::Spider)
  end    
  
  it "can be created with an Array" do
    HLSpider::Spider.new(@playlists).must_be_instance_of(HLSpider::Spider)
  end  
end  

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
hlspider-0.4.0 spec/hlspider/spider_spec.rb
hlspider-0.3.3 spec/hlspider/spider_spec.rb
hlspider-0.3.2 spec/hlspider/spider_spec.rb
hlspider-0.3.1 spec/hlspider/spider_spec.rb
hlspider-0.3.0 spec/hlspider/spider_spec.rb
hlspider-0.2.2 spec/hlspider/spider_spec.rb
hlspider-0.2.1 spec/hlspider/spider_spec.rb
hlspider-0.2.0 spec/hlspider/spider_spec.rb