Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ivodimitrov opened this issue Apr 29, 2020 · 0 comments · May be fixed by #35
Open

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

ivodimitrov opened this issue Apr 29, 2020 · 0 comments · May be fixed by #35

Comments

@ivodimitrov
Copy link

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.

@skinnyjames skinnyjames linked a pull request Oct 23, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant