./spec/animoto/image_spec.rb in animoto-0.0.0.alpha6 vs ./spec/animoto/image_spec.rb in animoto-0.0.0.alpha7

- old
+ new

@@ -9,12 +9,12 @@ describe "#to_hash" do before do @image = Animoto::Image.new 'http://website.com/image.png' end - it "should have a 'source' key with the url" do - @image.to_hash.should have_key('source') - @image.to_hash['source'].should == @image.source + it "should have a 'source_url' key with the url" do + @image.to_hash.should have_key('source_url') + @image.to_hash['source_url'].should == @image.source end describe "if rotated" do before do @image.rotation = 2 \ No newline at end of file