Sha256: e3ca72252b4d148deed552e531cc1850d49bddbbe84cdfe698dee6cdf2ea286f

Contents?: true

Size: 343 Bytes

Versions: 5

Compression:

Stored size: 343 Bytes

Contents

describe FilmSnob::Coub do
  it "should parse coub URLs" do
    film = FilmSnob.new("http://coub.com/view/rcd14cm")
    expect(film.id).to eq "rcd14cm"
    expect(film.site).to eq :coub
    VCR.use_cassette "coub/voodoo_people" do
      expect(film.title).to eq "voodoo people"
      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/coub_spec.rb
film_snob-0.6.3 spec/film_snob/video_sites/coub_spec.rb
film_snob-0.6.2 spec/film_snob/video_sites/coub_spec.rb
film_snob-0.6.1 spec/film_snob/video_sites/coub_spec.rb
film_snob-0.6.0 spec/film_snob/video_sites/coub_spec.rb