Skip to content

test(bookings): set early_checkin before testing feature using it. #817

test(bookings): set early_checkin before testing feature using it.

test(bookings): set early_checkin before testing feature using it. #817

GitHub Actions / Ameba failed Jul 18, 2024 in 6s

Crystal Ameba Results

Total files checked: 47
Issues found: 4

Ameba Version: 1.4.3
Crystal Version: 1.7.0

Annotations

Check warning on line 469 in spec/controllers/events_spec.cr

See this annotation in the file changed.

@github-actions github-actions / Ameba

Lint/UselessAssign

Useless assignment to variable `ending`
Raw output
> ending = 90.minutes.from_now.to_unix
  ^

Check warning on line 517 in spec/controllers/events_spec.cr

See this annotation in the file changed.

@github-actions github-actions / Ameba

Lint/UselessAssign

Useless assignment to variable `ending`
Raw output
> ending = 90.minutes.from_now.to_unix
  ^

Check warning on line 107 in spec/controllers/tenants_spec.cr

See this annotation in the file changed.

@github-actions github-actions / Ameba

Lint/DebugCalls

Possibly forgotten debug-related `pp!` call detected
Raw output
> pp! request_body = 3600_i64.to_json
  ^

Check warning on line 1 in src/controllers/events.cr

See this annotation in the file changed.

@github-actions github-actions / Ameba

Lint/Formatting

Use built-in formatter to format this source
Raw output
> class Events < Application
  ^