Skip to content

Conversation

@MaicolBen
Copy link

@MaicolBen MaicolBen commented Feb 24, 2017

Fix:

  • Failure/Error: Unable to find matching line from backtrace 'example' is not available from within an example (e.g. an 'it' block) or from constructs that run in the scope of an example (e.g. 'before', 'let', etc). It is only available on an example group (e.g. a 'describe' or 'context' block).. So I added example in the request block
  • undefined method underscore' for nil:NilClass in file_name = $1.underscore, so I retrieved the path from example.metadata[:example_group][:file_path]

Resolves #15

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.

1 participant