test/unit/view_handler_tests.rb in deas-0.41.0 vs test/unit/view_handler_tests.rb in deas-0.42.0
- old
+ new
@@ -240,9 +240,14 @@
should "call to the runner for its params" do
stub_runner_with_something_for(:params)
assert_equal @runner.params, subject.instance_eval{ params }
end
+ should "call to the runner for its splat" do
+ stub_runner_with_something_for(:splat)
+ assert_equal @runner.splat, subject.instance_eval{ splat }
+ end
+
should "call to the runner for its status helper" do
capture_runner_meth_args_for(:status)
exp_args = @args
subject.instance_eval{ status(*exp_args) }