diff options
Diffstat (limited to 'spec/workers/environments/auto_stop_worker_spec.rb')
-rw-r--r-- | spec/workers/environments/auto_stop_worker_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/workers/environments/auto_stop_worker_spec.rb b/spec/workers/environments/auto_stop_worker_spec.rb index 1983cfa18ea..cb162b5a01c 100644 --- a/spec/workers/environments/auto_stop_worker_spec.rb +++ b/spec/workers/environments/auto_stop_worker_spec.rb @@ -23,7 +23,7 @@ RSpec.describe Environments::AutoStopWorker do it 'stops the environment' do expect { subject } .to change { Environment.find_by_name('review/feature').state } - .from('available').to('stopped') + .from('available').to('stopping') end it 'executes the stop action' do |