You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 19, 2018. It is now read-only.
its because when we get the source code for the block it will include any expressions on the same line. So if you say expect_evaluate_ruby { 12 + 12 }.to eq(24) the tree includes the send(:to) part of the tree.
The solution is to repeatedly do .children.first until we find the block.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
does not work.
its because when we get the source code for the block it will include any expressions on the same line. So if you say
expect_evaluate_ruby { 12 + 12 }.to eq(24)
the tree includes the send(:to) part of the tree.The solution is to repeatedly do .children.first until we find the block.
The text was updated successfully, but these errors were encountered: