Sha256: 0259a3c776807f121bd01b76c6f531371946dfffbc3360bacd7d93792946b303

Contents?: true

Size: 333 Bytes

Versions: 5

Compression:

Stored size: 333 Bytes

Contents

describe FilmSnob::Vine do
  it "should parse URLs" do
    film = FilmSnob.new("https://vine.co/v/1")
    expect(film.id).to eq "1"
    expect(film.site).to eq :vine
    VCR.use_cassette "vine/dom hofman" do
      expect(film.title).to eq "Dom Hofmann's post on Vine"
      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/vine_spec.rb
film_snob-0.6.3 spec/film_snob/video_sites/vine_spec.rb
film_snob-0.6.2 spec/film_snob/video_sites/vine_spec.rb
film_snob-0.6.1 spec/film_snob/video_sites/vine_spec.rb
film_snob-0.6.0 spec/film_snob/video_sites/vine_spec.rb