X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/90e00b6189ace2b85192d74ce40929fe9d665062..782b0f0:/spec/spec_helper.rb?ds=sidebyside 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).