test/unit/view_handler_tests.rb in deas-0.8.0 vs test/unit/view_handler_tests.rb in deas-0.9.0

- old
+ new

@@ -8,11 +8,11 @@ class BaseTests < Assert::Context include Deas::TestHelpers desc "Deas::ViewHandler" setup do - @handler = test_runner(TestViewHandler).handler + @handler = test_handler(TestViewHandler) end subject{ @handler } should have_imeths :init, :init!, :run, :run! should have_cmeths :layout, :layouts @@ -127,10 +127,10 @@ end class WithMethodFlagsTests < BaseTests setup do - @handler = test_runner(FlagViewHandler).handler + @handler = test_handler(FlagViewHandler) end should "have called `init!` and it's callbacks" do assert_equal true, subject.before_init_called assert_equal true, subject.second_before_init_called