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

Raise helpful error when CVC is abstract #1040

Merged
merged 1 commit into from
Jan 23, 2018
Merged

Raise helpful error when CVC is abstract #1040

merged 1 commit into from
Jan 23, 2018

Conversation

jaredbeck
Copy link
Member

Instead of crashing when misconfigured Custom Version Classes are used, an error will be raised earlier, with a much more helpful message.

[Fixes #961]

@jaredbeck
Copy link
Member Author

jaredbeck commented Jan 22, 2018

I'm kind of surprised I was able to write a test for this. Ruby so crazy. Sure, define a class inside your expectation block. Do what you want!

Instead of crashing when misconfigured Custom Version Classes are
used, an error will be raised earlier, with a much more helpful message.

[Fixes #961]
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.

1 participant