spec/internal/app/controllers/test_controller.rb in mobile-enhancements-0.0.1 vs spec/internal/app/controllers/test_controller.rb in mobile-enhancements-0.0.2
- old
+ new
@@ -1,7 +1,8 @@
class TestController < ActionController::Base
def one
- render text: __method__
+ render text: [action_name, request.format.to_sym].join(", ")
end
alias_method :two, :one
alias_method :three, :one
+ alias_method :four, :one
end
\ No newline at end of file