Skip to content

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