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

Is it possible to pass a yield in through a yml stub? #59

Open
kimadactyl opened this issue Aug 15, 2017 · 1 comment
Open

Is it possible to pass a yield in through a yml stub? #59

kimadactyl opened this issue Aug 15, 2017 · 1 comment

Comments

@kimadactyl
Copy link

Heya, more feature requests 😄

Is it possible to pass some sample yields in via the yml stub file? I've tried a bunch of things but I think yield is a protected keyword? Be great to be able to test things with arbitrary content.

Thanks!

@kitop
Copy link
Collaborator

kitop commented Aug 15, 2017

Hi @kimadactyl
This was something talked before, see #49 (merged) and #40 (pending)

Unfortunately, passing blocks in the stubs is kinda hard, as there's no simple way to serialize it in YAML. But you can use the meta key in the stubs. Unfortunately it's not currently documented (but I'll add it soon!)—but you can see #27, or ask if any questions!

Let me know if that helps!

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

No branches or pull requests

2 participants