diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-06-07 13:32:16 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-06-13 17:05:38 +0300 |
commit | 25b99a5b3beecb7251fef9097c44afd1f82f9f57 (patch) | |
tree | 8f005048ec11ae7ad27e5d999b263b458c7487a8 /spec/serializers/job_entity_spec.rb | |
parent | d03e687882552cedaac2a493c9dbf4a3d98e0bac (diff) |
Update tests and application
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 6a694576b4a..5ca7bf2fcaf 100644 --- a/spec/serializers/job_entity_spec.rb +++ b/spec/serializers/job_entity_spec.rb @@ -39,7 +39,7 @@ describe JobEntity do expect(subject[:status]).to include :icon, :favicon, :text, :label end - context 'when build is retryable' do + context 'when job is retryable' do before do job.update(status: :failed) end @@ -49,7 +49,7 @@ describe JobEntity do end end - context 'when build is cancelable' do + context 'when job is cancelable' do before do job.update(status: :running) end |