Fix order-dependent specs

This commit is contained in:
Sebastian Serth
2021-11-04 18:34:44 +01:00
parent d033f71ae3
commit 7f47af99cb
6 changed files with 13 additions and 4 deletions

View File

@ -9,6 +9,7 @@ describe ExecutionEnvironmentsController do
before do
allow(controller).to receive(:current_user).and_return(user)
allow(controller).to receive(:sync_to_runner_management).and_return(nil)
allow(Runner.strategy_class).to receive(:available_images).and_return([])
end
describe 'POST #create' do