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

Cop idea: Redundant hash options for #create, or #build, or etc. #88

Open
ydakuka opened this issue Dec 20, 2023 · 0 comments
Open

Cop idea: Redundant hash options for #create, or #build, or etc. #88

ydakuka opened this issue Dec 20, 2023 · 0 comments

Comments

@ydakuka
Copy link

ydakuka commented Dec 20, 2023

# bad
let :user do
  create(
    :user,
    {
      short_description: short_description,
      data: data,
      user_logo: user_logo,
    },
  )
end

# good
let :user do
  create(
    :user,
    short_description: short_description,
    data: data,
    user_logo: user_logo,
  )
end
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

No branches or pull requests

1 participant