test/unit/runner_tests.rb in deas-0.13.1 vs test/unit/runner_tests.rb in deas-0.14.0

- old
+ new

@@ -11,20 +11,33 @@ end subject{ @runner } should have_reader :app_settings should have_readers :request, :response, :params, :logger, :session + should have_imeths :halt, :redirect, :content_type, :status, :render should "raise NotImplementedError with #halt" do assert_raises(NotImplementedError){ subject.halt } end - should "raise NotImplementedError with #render" do - assert_raises(NotImplementedError){ subject.render } - end - should "raise NotImplementedError with #redirect" do assert_raises(NotImplementedError){ subject.redirect } + end + + should "raise NotImplementedError with #content_type" do + assert_raises(NotImplementedError){ subject.content_type } + end + + should "raise NotImplementedError with #status" do + assert_raises(NotImplementedError){ subject.status } + end + + should "raise NotImplementedError with #headers" do + assert_raises(NotImplementedError){ subject.headers } + end + + should "raise NotImplementedError with #render" do + assert_raises(NotImplementedError){ subject.render } end end end