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

single cassette: same as cassette_name in the context/describe, but automatically generating the name #761

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

dieggofaustino
Copy link

@dieggofaustino dieggofaustino commented Jul 17, 2019

The single_cassette option makes every test case below the context/describe with this option use the description of this block as cassette name. It has the same behaviour as using cassette_name option in the context/describe, but automatically generating the name.

Fixes #700

@ecnalyr
Copy link
Collaborator

ecnalyr commented Feb 28, 2020

I like this, but I didn't get it until after I read the related issue a couple of times.

Could you add something to the documentation that explains what this single_cassette option does?

@krainboltgreene krainboltgreene changed the title Add single cassette single cassette: same as cassette_name in the context/describe, but automatically generating the name Apr 5, 2020
@hirowatari hirowatari mentioned this pull request Oct 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add :single_cassette option to RSpec metadata
4 participants