Sha256: a7d85450a07e8e1b5491599b13477e5efddf5b4745261c6ef3d81364c3dff929

Contents?: true

Size: 490 Bytes

Versions: 5

Compression:

Stored size: 490 Bytes

Contents

describe FilmSnob::FunnyOrDie do
  it "should parse funny or die URLs" do
    film = FilmSnob.new("http://www.funnyordie.com/videos/8db066d2e0/" \
                        "the-live-read-of-space-jam-with-blake-griffin")
    expect(film.id).to eq "8db066d2e0"
    expect(film.site).to eq :funnyordie
    VCR.use_cassette "funnyordie/space jam" do
      expect(film.title).to eq "The Live Read of Space Jam with Blake Griffin"
      expect { film.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/funny_or_die_spec.rb
film_snob-0.6.3 spec/film_snob/video_sites/funny_or_die_spec.rb
film_snob-0.6.2 spec/film_snob/video_sites/funny_or_die_spec.rb
film_snob-0.6.1 spec/film_snob/video_sites/funny_or_die_spec.rb
film_snob-0.6.0 spec/film_snob/video_sites/funny_or_die_spec.rb