Disable debug output during testing

This commit is contained in:
Sebastian Serth
2023-02-18 20:48:55 +01:00
parent 8a47310177
commit 04a69691e0
2 changed files with 6 additions and 0 deletions

View File

@ -18,6 +18,9 @@ describe 'seeds' do
}
allow_any_instance_of(ExecutionEnvironment).to receive(:working_docker_image?).and_return true
allow_any_instance_of(ExecutionEnvironment).to receive(:sync_runner_environment).and_return true
# Disable confirmation message while testing seeds
allow(HighLine).to receive(:say)
end
describe 'execute db:seed', cleaning_strategy: :truncation do