Module: ResponseHelper
- Included in:
- Ecfr::AdminService::EcfrCorrection, Ecfr::AdminService::Issue, Ecfr::RendererService::Origin, Ecfr::SearchService::ContentVersion::Result, Ecfr::SearchService::DateFacet, Ecfr::VersionerService::Ancestors, Ecfr::VersionerService::Title
- Defined in:
- lib/ecfr/testing/helpers/response_helper.rb
Instance Method Summary collapse
Instance Method Details
#stubbed_response(body, status = 200) ⇒ Object
2 3 4 |
# File 'lib/ecfr/testing/helpers/response_helper.rb', line 2 def stubbed_response(body, status = 200) OpenStruct.new(body: body, status: status) end |