Commit ebe89e8b authored by Lin Jen-Shin's avatar Lin Jen-Shin

Explicitly state that we're trying to prepend twice

parent 1cee6b3c
...@@ -76,9 +76,8 @@ describe Gitlab::Patch::Prependable do ...@@ -76,9 +76,8 @@ describe Gitlab::Patch::Prependable do
ce.const_get(:ClassMethods)]) ce.const_get(:ClassMethods)])
end end
it 'prepends only once' do it 'prepends only once even if called twice' do
ce.prepend(ee) 2.times { ce.prepend(ee) }
ce.prepend(ee)
subject subject
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment