diff --git a/spec/lib/tasks/evm_application_spec.rb b/spec/lib/tasks/evm_application_spec.rb index 23c211715c2..f9ae95a7bbb 100644 --- a/spec/lib/tasks/evm_application_spec.rb +++ b/spec/lib/tasks/evm_application_spec.rb @@ -320,6 +320,7 @@ def pad(val, col, adjust = :rjust) it "returns redeployment otherwise" do EvmSpecHelper.local_miq_server + expect(ActiveRecord::MigrationContext).to receive(:new).and_return(double(:current_version => 20190712135032, :needs_migration? => false)) expect(described_class.deployment_status).to eq("redeployment") end end