Skip to content

Rspec error when used with Rack::Test::Methods #15

@Jellyfishboy

Description

@Jellyfishboy

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions