Sha256: fec5e744b50c39404ba0039e2db351e35d75ff6f4a62bbda844b274138d59554

Contents?: true

Size: 360 Bytes

Versions: 5

Compression:

Stored size: 360 Bytes

Contents

describe FilmSnob::Hulu do
  it "should parse hulu URLs" do
    snob = FilmSnob.new("http://www.hulu.com/watch/285095")
    expect(snob.id).to eq "285095"
    expect(snob.site).to eq :hulu
    VCR.use_cassette("hulu/harmon") do
      expect(snob.title).to eq "Remedial Chaos Theory (Community)"
      expect { snob.html }.not_to raise_error
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
film_snob-0.6.4 spec/film_snob/video_sites/hulu_spec.rb
film_snob-0.6.3 spec/film_snob/video_sites/hulu_spec.rb
film_snob-0.6.2 spec/film_snob/video_sites/hulu_spec.rb
film_snob-0.6.1 spec/film_snob/video_sites/hulu_spec.rb
film_snob-0.6.0 spec/film_snob/video_sites/hulu_spec.rb