Skip to content

Use OpenStruct instead of MockResponse#1466

Merged
monfresh merged 1 commit intomasterfrom
mb-fix-vendor-response
Jun 1, 2017
Merged

Use OpenStruct instead of MockResponse#1466
monfresh merged 1 commit intomasterfrom
mb-fix-vendor-response

Conversation

@monfresh
Copy link
Contributor

@monfresh monfresh commented Jun 1, 2017

Why: The Proofing::Vendor::MockResponse class doesn't
do anything besides inherit from OpenStruct.

**Why**: The Proofing::Vendor::MockResponse class doesn't
do anything besides inherit from OpenStruct.
Copy link
Contributor

@zachmargolis zachmargolis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

This caused a bug in QA when we enabled proofing right? Because the mock stuff hadn't been loaded? Is it worth trying to make a spec?

@monfresh
Copy link
Contributor Author

monfresh commented Jun 1, 2017

Probably not worth a spec because I think this depends on the equifax gem being loaded, but it's only meant for the production environment.

@monfresh monfresh merged commit b57fa96 into master Jun 1, 2017
@monfresh monfresh deleted the mb-fix-vendor-response branch June 1, 2017 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants