test/unit/view_handler_tests.rb in deas-0.42.0 vs test/unit/view_handler_tests.rb in deas-0.43.0

- old
+ new

@@ -230,15 +230,10 @@ should "call to the runner for its request" do stub_runner_with_something_for(:request) assert_equal @runner.request, subject.instance_eval{ request } end - should "call to the runner for its session" do - stub_runner_with_something_for(:session) - assert_equal @runner.session, subject.instance_eval{ session } - end - should "call to the runner for its params" do stub_runner_with_something_for(:params) assert_equal @runner.params, subject.instance_eval{ params } end @@ -389,11 +384,10 @@ should "build a test runner for a given handler class" do runner = subject.test_runner(@handler_class) assert_kind_of ::Deas::TestRunner, runner - assert_kind_of Rack::Request, runner.request - assert_equal runner.request.session, runner.session + assert_kind_of ::Rack::Request, runner.request end should "return an initialized handler instance" do handler = subject.test_handler(@handler_class) assert_kind_of @handler_class, handler