summaryrefslogtreecommitdiff
path: root/spec/workers/wait_for_cluster_creation_worker_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/workers/wait_for_cluster_creation_worker_spec.rb')
-rw-r--r--spec/workers/wait_for_cluster_creation_worker_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/workers/wait_for_cluster_creation_worker_spec.rb b/spec/workers/wait_for_cluster_creation_worker_spec.rb
index 6d82981287f..dcd4a3b9aec 100644
--- a/spec/workers/wait_for_cluster_creation_worker_spec.rb
+++ b/spec/workers/wait_for_cluster_creation_worker_spec.rb
@@ -24,7 +24,7 @@ describe WaitForClusterCreationWorker do
context 'when operation timeout' do
before do
- allow(operation).to receive(:start_time).and_return(30.minutes.ago)
+ allow(operation).to receive(:start_time).and_return(30.minutes.ago.utc)
end
it 'sets an error message on cluster' do