diff options
Diffstat (limited to 'spec/serializers/job_entity_spec.rb')
-rw-r--r-- | spec/serializers/job_entity_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/serializers/job_entity_spec.rb b/spec/serializers/job_entity_spec.rb index 02262be9511..adfda36a9dc 100644 --- a/spec/serializers/job_entity_spec.rb +++ b/spec/serializers/job_entity_spec.rb @@ -45,7 +45,7 @@ RSpec.describe JobEntity do context 'when job is retryable' do before do - job.update(status: :failed) + job.update!(status: :failed) end it 'contains cancel path' do @@ -55,7 +55,7 @@ RSpec.describe JobEntity do context 'when job is cancelable' do before do - job.update(status: :running) + job.update!(status: :running) end it 'contains cancel path' do |