spec/integration/action/csrf_protection_spec.rb in hanami-2.0.0.beta4 vs spec/integration/action/csrf_protection_spec.rb in hanami-2.0.0.rc1
- old
+ new
@@ -33,10 +33,10 @@
end
context "CSRF protection explicitly disabled" do
let(:app_hook) {
proc do
- config.sessions = :cookie, {secret: "abc123"}
+ config.actions.sessions = :cookie, {secret: "abc123"}
config.actions.csrf_protection = false
end
}
it "does not have CSRF protection enabled" do