Explicitly state that we're trying to prepend twice
This commit is contained in:
parent
1cee6b3c72
commit
ebe89e8bd2
|
|
@ -76,9 +76,8 @@ describe Gitlab::Patch::Prependable do
|
|||
ce.const_get(:ClassMethods)])
|
||||
end
|
||||
|
||||
it 'prepends only once' do
|
||||
ce.prepend(ee)
|
||||
ce.prepend(ee)
|
||||
it 'prepends only once even if called twice' do
|
||||
2.times { ce.prepend(ee) }
|
||||
|
||||
subject
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue