Project

General

Profile

« Previous | Next » 

Revision fab566de

Added by Lukas Zapletal over 5 years ago

Fixes #23344 - stubs instead expects in setup blocks

View differences:

test/models/provisioning_template_test.rb
context 'locked templates outside of rake' do
setup do
Foreman.expects(:in_rake?).returns(false).at_least_once
Foreman.stubs(:in_rake?).returns(false)
@template = templates(:locked)
end

Also available in: Unified diff