fixed lambda wront # of arguments in warden test
This commit is contained in:
parent
c519f14626
commit
a98a504849
|
@ -41,7 +41,7 @@ class ActionWardenTest < Test::Unit::TestCase
|
||||||
end
|
end
|
||||||
|
|
||||||
should "move the last action to the front of the stack" do
|
should "move the last action to the front of the stack" do
|
||||||
@instance.actions << lambda {}
|
@instance.actions << lambda { |env| }
|
||||||
assert @instance.stack.empty?
|
assert @instance.stack.empty?
|
||||||
@instance.call(new_env)
|
@instance.call(new_env)
|
||||||
assert !@instance.stack.empty?
|
assert !@instance.stack.empty?
|
||||||
|
|
Loading…
Reference in New Issue