Sha256: 5370639814c14050339730a4bec7f2454f91248bbff4fd1c972cb0addf3cddf9
Contents?: true
Size: 463 Bytes
Versions: 5
Compression:
Stored size: 463 Bytes
Contents
# Encoding: utf-8 describe FilmSnob::Rutube do it "should parse rutube URLs" do url = "http://rutube.ru/video/586afc0f5c652439a2dca8b34d19a086/" film = FilmSnob.new(url) expect(film.id).to eq "586afc0f5c652439a2dca8b34d19a086" expect(film.site).to eq :rutube VCR.use_cassette "rutube/rabbit_eat_raspberry" do expect(film.title).to eq "Кролик ест малину" expect { film.html }.not_to raise_error end end end
Version data entries
5 entries across 5 versions & 1 rubygems