Skip to content

Commit

Permalink
Stub migrator so it doesn't fail in backwards compatibility tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sethboyles authored and johha committed Jun 4, 2024
1 parent d0de7b5 commit 967590c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/unit/lib/cloud_controller/db_migrator_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@
end

describe 'benchmark' do
before do
allow(Sequel::Migrator).to receive(:run).with(any_args)
end

let(:migrator) { DBMigrator.new(db) }

it 'runs migrations without benchmark' do
Expand Down

0 comments on commit 967590c

Please sign in to comment.