Skip to content

Commit d3bddaf

Browse files
committed
Fix CORS unit test
1 parent 61b3332 commit d3bddaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/unit/middleware/cors_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ module Middleware
116116
status, _, body = middleware.call(request_headers)
117117

118118
expect(status).to eq(200)
119-
expect(body).to eq('')
119+
expect(body).to eq([''])
120120
end
121121

122122
it 'sets the Content-Type: text/plain header' do

0 commit comments

Comments
 (0)