Skip to content

Commit

Permalink
Test update
Browse files Browse the repository at this point in the history
  • Loading branch information
nateberkopec committed Apr 7, 2023
1 parent 7f6e09b commit a3cba9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/integration/middleware_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def app
)
expect(last_response.headers['Content-Type']).to eq('text/plain; charset=utf-8')
expect(last_response.headers['X-CUSTOM']).to eq('1')
expect(last_response.status).to eq(201)
expect(last_response.status).to eq(500)
end
end

Expand Down
2 changes: 1 addition & 1 deletion spec/lib/profiler_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def self.bar(baz, boo)
response = profiler.call({ "PATH_INFO" => "/", "QUERY_STRING" => "pp=profile-memory" })

expect(response).to eq([
200,
500,
{ "Content-Type" => "text/plain; charset=utf-8", "Set-Cookie" => "__profilin=p%3Dt; path=/; HttpOnly; SameSite=Lax" },
["Please install the memory_profiler gem and require it: add gem 'memory_profiler' to your Gemfile"],
])
Expand Down

0 comments on commit a3cba9b

Please sign in to comment.