test/imageshack_test.rb in muri-1.0.0 vs test/imageshack_test.rb in muri-1.1.0

- old
+ new

@@ -1,10 +1,19 @@ require 'lib/muri.rb' shared_examples_for "Imageshack parse" do it "should be Imageshack service" do - @a.media_service.should == 'Imageshack' + #@a.media_service.should == 'Imageshack' + @a.is_imageshack?.should == true end + + it "should be not be other services" do + @a.is_vimeo?.should == false + @a.is_youtube?.should == false + @a.is_facebook?.should == false + @a.is_photobucket?.should == false + end + it "should be valid" do @a.valid?.should == true end end \ No newline at end of file