X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/e0be8bfc4ff68e6eb26662fe3a1881cba225a44e..720eb2b9821a4147dbd124ff595e36fa2b9b45b2:/spec/spec_helper.rb diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 9191526..8636f41 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,6 +1,11 @@ require 'vimrunner' require 'vimrunner/rspec' +# Explicitly enable usage of "should". +RSpec.configure do |config| + config.expect_with(:rspec) { |c| c.syntax = :should } +end + Vimrunner::RSpec.configure do |config| # Use a single Vim instance for the test suite. Set to false to use an # instance per test (slower, but can be easier to manage).