module RSpec
Namespace for all core RSpec
projects.
rubocop: disable Metrics/ModuleLength
The following code inspired and modified from Rails' `assert_response`:
https://github.com/rails/rails/blob/master/actionpack/lib/action_dispatch/testing/assertions/response.rb#L22-L38
Thank you to all the Rails
devs who did the heavy lifting on this!