has_vimeo_video 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -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"
|