Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

show mock failures for commands #69

Merged
merged 1 commit into from
Feb 9, 2016
Merged

Conversation

arlimus
Copy link
Contributor

@arlimus arlimus commented Feb 9, 2016

Does 2 things:

1 Use the :verbose option to show when commands and file mocks fail:

Command not mocked:
    powershell -encodedCommand JAB...KAA==
    SHA: b00eb49a98c96a808c469e4894b5123a913e354c9ffea5b785898fe30d288ee0

2 Change the old :verbose to :trace and fixed that whole section of code. You now get access to tracing again with e.g.

Train.create(:mock, { trace: true })

@arlimus
Copy link
Contributor Author

arlimus commented Feb 9, 2016

This will force a minor version upgrade ;)

@chris-rock
Copy link
Contributor

this is a lifesaver improvement @arlimus

chris-rock added a commit that referenced this pull request Feb 9, 2016
show mock failures for commands
@chris-rock chris-rock merged commit 9166573 into master Feb 9, 2016
@chris-rock chris-rock deleted the dr/show-mock-failures branch February 9, 2016 12:09
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