Revision 630061d2
Added by Michael Moll almost 6 years ago
test/models/template_test.rb | ||
---|---|---|
template = Minitest::Mock.new
|
||
template.expect(:ignore_locking, true)
|
||
Template.expects(:import_without_save => template)
|
||
Template.import!('test', '', { :force => true })
|
||
Template.import!('test', '', { :force => true })
|
||
template.verify
|
||
end
|
||
end
|
Also available in: Unified diff
Fixes #19775 - Fix Layout/ExtraSpacing cop