Commit 8e7cdb8d authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Disable Rspec :should deprecation warning.

For now we'll need to live with old-style RSpec syntax.
parent 70708557
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -15,7 +15,10 @@ require 'rspec/core/rake_task'
desc "Runs RSpec testsuite (DEFAULT)"
RSpec::Core::RakeTask.new(:spec) do |spec|
  spec.rspec_opts = ["--color"] unless os_is_windows?
  spec.pattern = "spec/**/*_spec.rb"
  spec.pattern = [
    "spec/spec_helper.rb",
    "spec/**/*_spec.rb",
  ]
end

def load_sdk_vars

spec/spec_helper.rb

0 → 100644
+6 −0
Original line number Diff line number Diff line
# Allow old :should syntax for specs
RSpec.configure do |config|
  config.expect_with :rspec do |c|
    c.syntax = [:expect, :should]
  end
end