Skip to content

Getting an odd error when using this code #12

@elight

Description

@elight
Scenario "Query with no query args returns all locations" do
  given_a_person
  given_im_logged_in_as :person
  And "A job with a maximum of zero agents"
end
  1. Error:
    test_query_with_no_query_args_returns_all_locations(Geographic_queries):
    ArgumentError: wrong number of arguments (2 for 1)

Removing the pending "And" causes it to run without error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions