-
Notifications
You must be signed in to change notification settings - Fork 627
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
Allow nested describe
blocks in DescribeSpec
#902
Labels
enhancement ✨
Suggestions for adding new features or improving existing ones.
Comments
LeoColman
added
the
enhancement ✨
Suggestions for adding new features or improving existing ones.
label
Jul 19, 2019
This is a deliberate decision, however I don't see any reason to not allow this. Currently you can use describe -> context -> context -> ... -> it No real issue to disallow I'll add this. |
LeoColman
added a commit
that referenced
this issue
Jul 19, 2019
This was referenced Jul 19, 2019
LeoColman
added a commit
that referenced
this issue
Jul 19, 2019
sksamuel
pushed a commit
that referenced
this issue
Jul 21, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In RSpec it's allowed to nest
describe
blocks. It's be nice to be able to nestdescribe
blocks in DescribeSpec as well, but right now it's not possible. Is there any technical limitation to this or it's a deliberate decision?I wanted to add a
describe
alias onDescribeScope
, but the librarydescribe
is resolvable anyway and the tests fail in runtimeThe text was updated successfully, but these errors were encountered: