test/run.rb in cuba-2.0.1 vs test/run.rb in cuba-2.1.0.rc1
- old
+ new
@@ -1,10 +1,10 @@
require File.expand_path("helper", File.dirname(__FILE__))
test "redirect canonical example" do
Cuba.define do
def redirect(*args)
- run Cuba::Ron.new { on(true) { res.redirect(*args) }}
+ run Cuba.new { on(true) { res.redirect(*args) }}
end
on "account" do
redirect "/login", 307
\ No newline at end of file