test/csrf.rb in cuba-3.9.3 vs test/csrf.rb in cuba-4.0.0
- old
+ new
@@ -11,10 +11,11 @@
scope do
setup do
Cuba.reset!
- Cuba.use(Rack::Session::Cookie, secret: "_this_must_be_secret")
+ Cuba.use(Rack::Session::Cookie,
+ secret: "R6zSBQWz0VGVSwvT8THurhJwaVqzpnsH27J5FoI58pxoIciDQYvE4opVvDTLMyfjj7c5inIc6PDNaQWvArMvK3")
Cuba.plugin(Cuba::Safe::CSRF)
end
test "safe http methods" do
Cuba.define do