test/integration.rb in cuba-1.0.0 vs test/integration.rb in cuba-2.0.0.rc1
- old
+ new
@@ -27,11 +27,11 @@
"this is the block"
end
Cuba.define do
on get do
- on path("hello") do
+ on "hello" do
"Default"
end
end
end
@@ -50,11 +50,11 @@
"this is the block"
end
Cuba.define do
on get do
- on path("hello") do
+ on "hello" do
res.write "Default"
end
end
end
@@ -64,10 +64,10 @@
"3"
end
Cuba.define do
on get do
- on path("hello") do
+ on "hello" do
res.write "2nd Default"
end
end
end
\ No newline at end of file