correct spec

This commit is contained in:
Sam 2018-09-17 11:37:01 +10:00
parent e15a1e7c38
commit 37c5280f73
1 changed files with 2 additions and 1 deletions

View File

@ -108,7 +108,8 @@ describe Hijack do
expected = {
"Access-Control-Allow-Origin" => "www.rainbows.com",
"Access-Control-Allow-Headers" => "Content-Type, X-Requested-With, X-CSRF-Token, Discourse-Visible, User-Api-Key, User-Api-Client-Id",
"Access-Control-Allow-Credentials" => "true"
"Access-Control-Allow-Credentials" => "true",
"Access-Control-Allow-Methods" => "POST, PUT, GET, OPTIONS, DELETE"
}
expect(headers).to eq(expected)