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

Allow shared examples to be called in tabular examples #2

Open
acant opened this issue Oct 9, 2015 · 0 comments
Open

Allow shared examples to be called in tabular examples #2

acant opened this issue Oct 9, 2015 · 0 comments

Comments

@acant
Copy link
Contributor

acant commented Oct 9, 2015

This will just improve the syntax for using shared examples, in tabular form. Here are some possible method options:

# option 1
inputs                            :arg1,   :arg2
it_behaves_like_with 'behaviour', :value1, :value2

# option 2
inputs 'behaviour',  :arg1,   :arg2
it_behaves_like_with :value1, :value2

# option 3
# Could we automatically detected a shared example?
inputs               :arg1,   :arg2
it_behaves_like_with :value1, :value2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant