test: Add missing before_each call to sign_spec.lua

Without this the test will inherit the previous test environment, causing random
failures.

Close #2243
This commit is contained in:
Thiago de Arruda 2015-03-28 12:03:13 -03:00
parent d06b4933ed
commit 9d02e5b984

View File

@ -4,6 +4,7 @@ local clear, nvim, buffer, curbuf, curwin, eq, ok =
helpers.eq, helpers.ok helpers.eq, helpers.ok
describe('sign', function() describe('sign', function()
before_each(clear)
describe('unplace {id}', function() describe('unplace {id}', function()
describe('without specifying buffer', function() describe('without specifying buffer', function()
it('deletes the sign from all buffers', function() it('deletes the sign from all buffers', function()