test/middleware/test_scaler_middleware.rb in tracksperanto-2.9.5 vs test/middleware/test_scaler_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 ScalerMiddlewareTest < Test::Unit::TestCase + + def test_action_description + assert_equal "Scale the comp by a specified factor", Tracksperanto::Middleware::Scaler.action_description + end + def test_default_factor_set_to_one receiver = flexmock m = Tracksperanto::Middleware::Scaler.new(receiver) assert_equal 1.0, m.x_factor assert_equal 1.0, m.y_factor