test/csrf.rb in cuba-sugar-0.2.1 vs test/csrf.rb in cuba-sugar-0.2.2
- old
+ new
@@ -1,7 +1,8 @@
require File.expand_path("helper", File.dirname(__FILE__))
test "set status and headers through helper" do
+ Cuba.plugin Cuba::Sugar
Cuba.define do
on "users" do
as do
render "test/fixtures/csrf.erb"
end