Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
sorah committed Oct 17, 2022
1 parent 6206c0e commit 5f3d5e5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions spec/response_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
it { is_expected.to eq(
statusCode: 418,
headers: {'content-type' => 'text/plain', 'cache-control' => 'public'},
body: Base64.encode64("I'm a teapot"),
body: Base64.strict_encode64("I'm a teapot"),
isBase64Encoded: true
) }
end
Expand All @@ -26,7 +26,7 @@
it { is_expected.to eq(
statusCode: 418,
headers: {'content-type' => 'text/plain', 'cache-control' => 'public'},
body: Base64.encode64("I'm a teapot\n..."),
body: Base64.strict_encode64("I'm a teapot\n..."),
isBase64Encoded: true
) }
end
Expand All @@ -41,7 +41,7 @@
statusCode: 200,
headers: {'content-type' => 'text/plain'},
cookies: ['akiyama=mizuki; Max-Age=10', 'shinonome=ena; Max-Age=10'],
body: Base64.encode64(""),
body: Base64.strict_encode64(""),
isBase64Encoded: true
) }
end
Expand All @@ -52,7 +52,7 @@
it { is_expected.to eq(
statusCode: 200,
multiValueHeaders: {"content-type" => ["text/plain"], 'set-cookie' => ['akiyama=mizuki; Max-Age=10', 'shinonome=ena; Max-Age=10']},
body: Base64.encode64(""),
body: Base64.strict_encode64(""),
isBase64Encoded: true
) }
end
Expand All @@ -67,7 +67,7 @@
statusCode: 200,
headers: {'content-type' => 'text/plain'},
cookies: ['akiyama=mizuki; Max-Age=10', 'shinonome=ena; Max-Age=10'],
body: Base64.encode64(""),
body: Base64.strict_encode64(""),
isBase64Encoded: true
) }
end
Expand All @@ -78,7 +78,7 @@
it { is_expected.to eq(
statusCode: 200,
multiValueHeaders: {"content-type" => ["text/plain"], 'set-cookie' => ['akiyama=mizuki; Max-Age=10', 'shinonome=ena; Max-Age=10']},
body: Base64.encode64(""),
body: Base64.strict_encode64(""),
isBase64Encoded: true
) }
end
Expand Down

0 comments on commit 5f3d5e5

Please sign in to comment.