test/unit/runner_tests.rb in deas-0.16.0 vs test/unit/runner_tests.rb in deas-0.17.0

- old
+ new

@@ -9,12 +9,17 @@ setup do @runner = Deas::Runner.new(TestViewHandler) end subject{ @runner } - should have_reader :app_settings + should have_reader :app_settings should have_readers :request, :response, :params, :logger, :session - should have_imeths :halt, :redirect, :content_type, :status, :render + should have_imeths :halt, :redirect, :content_type, :status + should have_imeths :render, :send_file + + should "raise NotImplementedError with #send_file" do + assert_raises(NotImplementedError){ subject.send_file } + end should "raise NotImplementedError with #halt" do assert_raises(NotImplementedError){ subject.halt } end