Skip to content

Passing name with the 1st argument of email is deprecated #33

Description

@ivodimitrov

My code in default.yml is:

forgot_password_page: email_address: ~email_address

and in forgot_password_page.rb is:

include PageObject
  include DataMagic

  def submit_forgot_password(data = {})
    populate_page_with data_for(:forgot_password_page, data)
  end
end

After I ran the test the following error is displayed:

gems/data_magic-1.2/lib/data_magic/standard_translation.rb:187: Passing name with the 1st argument of email is deprecated. Use keyword argument like email(name: ...) instead.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions