Skip to content

Commit

Permalink
Update lib/rack/mock.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
ioquatix committed Jan 25, 2022
1 parent 3b10fd5 commit d01c2fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rack/mock.rb
Expand Up @@ -188,7 +188,7 @@ def initialize(status, headers, body, errors = nil)
if errors
@errors = errors.string if errors.respond_to?(:string)
else
@errors = nil
@errors = ""
end

super(body, status, headers)
Expand Down

0 comments on commit d01c2fd

Please sign in to comment.