test/img_test.rb in sundawg-sinatra-assetpack-fork-0.0.12.pre1 vs test/img_test.rb in sundawg-sinatra-assetpack-fork-0.1.6

- old
+ new

@@ -11,17 +11,17 @@ test "get img with cache buster" do get '/images/email.893748.png' assert_equal last_response.headers['Content-Length'], File.size(r("/app/images/email.png")).to_s end - test "Image[]" do + test "compare" do i = Image['/app/images/email.png'] j = Image['/app/images/email.png'] assert j === i end - test "Image[]" do + test "dimensions" do i = Image['/app/images/email.png'] j = Image['/app/images/email.png'] Image.any_instance.expects(:`).times(1) j.dimensions