You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following error occurs when I try to test my JSON API with Rack::Test::Methods and the last_response variable:
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).
Any idea how I can solve this issue?
The text was updated successfully, but these errors were encountered:
The following error occurs when I try to test my JSON API with
Rack::Test::Methods
and thelast_response
variable: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).
Any idea how I can solve this issue?
The text was updated successfully, but these errors were encountered: