test/nitro/tc_controller_aspect.rb in nitro-0.31.0 vs test/nitro/tc_controller_aspect.rb in nitro-0.40.0
- old
+ new
@@ -20,9 +20,10 @@
end
def test_aspect
ctx = Context.new(Server.new)
ctx.instance_variable_set '@session', {}
+ ctx.instance_variable_set '@headers', {}
c = TestController.new(ctx)
c.list_action
assert_equal 25, c.aflag
end