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?