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
described class #526
Comments
That should be the same as class Minitest::Spec
def described_class
self.class
end
end |
Actually, I was wrong. |
Personally, I think this style of testing is obfuscatory at best, but the value you want is in the civar named |
Please close this if you think it has been resolved. |
No response. Closing. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In rspec, we can access the described class using
described_class
method. Could we have the similar kind of method in minitest. If not then could we add it to minitest?The text was updated successfully, but these errors were encountered: