Skip to content

Conversation

bruno-
Copy link
Contributor

@bruno- bruno- commented Sep 21, 2013

Instead of dummy text, first argument for describe becomes a class name derived from a spec file name. Example:
file: some_class_spec.rb
describe argument: SomeClass

This works pretty much the same as getting the class name for ruby cla snippets.
The only difference is that the idiomatic '_spec' is removed from spec file name, before converting to class name.

Let me know if more explanation or examples are needed!

Instead of dummy text, first argument for `describe` becomes a class
name derived from a file name. Example:
file:              some_class_spec.rb
describe argument: SomeClass
@ghost ghost assigned taq Sep 21, 2013
iurifq added a commit that referenced this pull request Sep 22, 2013
@iurifq iurifq merged commit 58231ac into honza:master Sep 22, 2013
@iurifq
Copy link
Collaborator

iurifq commented Sep 22, 2013

thanks 👍

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

Successfully merging this pull request may close these issues.

3 participants