spec/utopia/controller/rewrite_spec.rb in utopia-1.7.1 vs spec/utopia/controller/rewrite_spec.rb in utopia-1.8.0
- old
+ new
@@ -25,10 +25,10 @@
require 'utopia/controller'
module Utopia::Controller::RewriteSpec
describe Utopia::Controller do
class TestController < Utopia::Controller::Base
- prepend Utopia::Controller::Rewrite
+ prepend Utopia::Controller::Rewrite, Utopia::Controller::Actions
on 'edit' do |request, path|
@edit = true
end