has_vimeo_video 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -30,6 +30,10 @@ describe HasVimeoVideo::VimeoVideo do
|
|
30
30
|
new_video("http://vimeo.com/000000000").info.should be_nil
|
31
31
|
end
|
32
32
|
|
33
|
+
it "should have a nil thumbnail if the video doesn't exist" do
|
34
|
+
new_video("http://vimeo.com/000000000").thumbnail.should be_nil
|
35
|
+
end
|
36
|
+
|
33
37
|
it "should correctly parse video_url" do
|
34
38
|
new_video(" http://vimeo.com/6428069 ").id.should == "6428069"
|
35
39
|
new_video("xyzhttp://vimeo.com/6428069bar").id.should == "6428069"
|