Skip to content

Commit

Permalink
Corrige erros do rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniloRibeiro07 committed Jul 22, 2024
1 parent 7757c04 commit 5d16998
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/models/superintendent_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
desactive_superintendent_job_spy = spy 'DesactiveSuperintendentJob'
stub_const 'DesactiveSuperintendentJob', desactive_superintendent_job_spy
create :superintendent, start_date: '2024-07-22', end_date: '2024-07-25'

expect(superintendent.pending?).to eq true
expect(active_superintendent_job_spy).to have_received(:set).with({ wait_until: '2024-07-23'.to_datetime })
expect(desactive_superintendent_job_spy).to have_received(:set).with({ wait_until: '2024-07-25'.to_datetime })
Expand Down

0 comments on commit 5d16998

Please sign in to comment.