test/middleware/test_crop_middleware.rb in tracksperanto-2.9.5 vs test/middleware/test_crop_middleware.rb in tracksperanto-2.9.6
- old
+ new
@@ -1,8 +1,13 @@
# -*- encoding : utf-8 -*-
require File.expand_path(File.dirname(__FILE__)) + '/../helper'
class CropMiddlewareTest < Test::Unit::TestCase
+
+ def test_action_description
+ assert_equal "Crop or pad the image by a specified number of pixels", Tracksperanto::Middleware::Crop.action_description
+ end
+
def test_crop_supports_hash_init
receiver = flexmock
m = Tracksperanto::Middleware::Crop.new(receiver, :left => 13, :right => 0, :top => 25)
end