Sha256: 08f7d1a88ec17d887c10f032ef6b8d65b9aac9bd84916b81fbc227e627f707c1

Contents?: true

Size: 332 Bytes

Versions: 3

Compression:

Stored size: 332 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

3 entries across 3 versions & 1 rubygems

Version Path
film_snob-1.0.1 spec/film_snob/oembed_providers/vine_spec.rb
film_snob-1.0.0 spec/film_snob/oembed_providers/vine_spec.rb
film_snob-0.6.5 spec/film_snob/video_sites/vine_spec.rb