Skip to content

Commit 967590c

Browse files
sethboylesjohha
authored andcommitted
Stub migrator so it doesn't fail in backwards compatibility tests
1 parent d0de7b5 commit 967590c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

spec/unit/lib/cloud_controller/db_migrator_spec.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,10 @@
7878
end
7979

8080
describe 'benchmark' do
81+
before do
82+
allow(Sequel::Migrator).to receive(:run).with(any_args)
83+
end
84+
8185
let(:migrator) { DBMigrator.new(db) }
8286

8387
it 'runs migrations without benchmark' do

0 commit comments

Comments
 (0)