spec/spec_helper.rb in termit-2.10.0 vs spec/spec_helper.rb in termit-2.10.1

- old
+ new

@@ -2,15 +2,22 @@ require 'bundler/setup' require 'vcr' require 'webmock/rspec' require 'coveralls' Coveralls.wear! - require_relative '../lib/termit' RSpec.configure do |config| original_stderr = $stderr original_stdout = $stdout + + config.mock_with :rspec do |c| + c.syntax = [:should, :expect] + end + + config.expect_with :rspec do |c| + c.syntax = [:should, :expect] + end # redirect output to file config.before(:suite) do $stderr = File.new(File.join(File.dirname(__FILE__), 'output.txt'), 'w') $stdout = File.new(File.join(File.dirname(__FILE__), 'output.txt'), 'w') \ No newline at end of file