test/support/view_handlers.rb in deas-0.28.0 vs test/support/view_handlers.rb in deas-0.29.0

- old
+ new

@@ -6,14 +6,16 @@ end class TestRunnerViewHandler include Deas::ViewHandler + attr_reader :before_called, :init_called attr_accessor :custom_value - def run! - 'run has run' - end + before{ @before_called = true } + + def init!; @init_called = true; end + def run!; 'run has run'; end end class DeasRunnerViewHandler include Deas::ViewHandler