lib/deas/test_runner.rb in deas-0.23.3 vs lib/deas/test_runner.rb in deas-0.23.4
- old
+ new
@@ -42,10 +42,10 @@
])
end
end
def redirect(path, *halt_args)
- RedirectArgs.new(path, halt_args)
+ throw(:halt, RedirectArgs.new(path, halt_args))
end
class RedirectArgs < Struct.new(:path, :halt_args)
def redirect?; true; end
end