Skip to content

fix(survey): makes the ORM do the query correctly? #1007

fix(survey): makes the ORM do the query correctly?

fix(survey): makes the ORM do the query correctly? #1007

GitHub Actions / Ameba failed Feb 21, 2024 in 2s

Crystal Ameba Results

Total files checked: 106
Issues found: 3

Ameba Version: 1.4.3
Crystal Version: 1.7.0

Annotations

Check warning on line 33 in spec/survey_invitation_spec.cr

See this annotation in the file changed.

@github-actions github-actions / Ameba

Lint/UselessAssign

Useless assignment to variable `invitation_two`
Raw output
> invitation_two = Generator.invitation(sent: false).save!
  ^

Check warning on line 34 in spec/survey_invitation_spec.cr

See this annotation in the file changed.

@github-actions github-actions / Ameba

Lint/UselessAssign

Useless assignment to variable `invitation_three`
Raw output
> invitation_three = Generator.invitation(sent: nil).save!
  ^

Check warning on line 42 in spec/survey_invitation_spec.cr

See this annotation in the file changed.

@github-actions github-actions / Ameba

Lint/UselessAssign

Useless assignment to variable `invitation_one`
Raw output
> invitation_one = Generator.invitation(sent: true).save!
  ^