Sha256: 9677434b37d77becef2302b9af19ad8efc5d1973ac8ba3ff18c9879517dcaf25
Contents?: true
Size: 457 Bytes
Versions: 4
Compression:
Stored size: 457 Bytes
Contents
describe FilmSnob do describe "not supported URLs" do it "should handle non-supported URLs gracefully" do snob = FilmSnob.new("http://hardscrabble.net") expect(snob).to_not be_embeddable end it "should raise an exception if you push your luck" do snob = FilmSnob.new("http://hardscrabble.net") expect(snob).to_not be_embeddable expect { snob.id }.to raise_error(FilmSnob::NotSupportedURLError) end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
film_snob-2.0.0 | spec/film_snob_spec.rb |
film_snob-1.0.1 | spec/film_snob_spec.rb |
film_snob-1.0.0 | spec/film_snob_spec.rb |
film_snob-0.6.5 | spec/film_snob_spec.rb |