From abd27673f432ead97833e0a80b916de22a4547d9 Mon Sep 17 00:00:00 2001 From: Andy Brody Date: Sun, 5 Jun 2016 19:57:19 -0400 Subject: [PATCH] Use rspec 3.0! --- rest-client.gemspec | 2 +- spec/spec_helper.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rest-client.gemspec b/rest-client.gemspec index 84bf2ba..25a4af6 100644 --- a/rest-client.gemspec +++ b/rest-client.gemspec @@ -17,7 +17,7 @@ Gem::Specification.new do |s| s.summary = 'Simple HTTP and REST client for Ruby, inspired by microframework syntax for specifying actions.' s.add_development_dependency('webmock', '~> 2.0') - s.add_development_dependency('rspec', '~> 2.99') + s.add_development_dependency('rspec', '~> 3.0') s.add_development_dependency('pry', '~> 0') s.add_development_dependency('pry-doc', '~> 0') s.add_development_dependency('rdoc', '>= 2.4.2', '< 5.0') diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 2d7dd6e..c43a240 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -5,7 +5,7 @@ require_relative './helpers' # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration RSpec.configure do |config| - config.treat_symbols_as_metadata_keys_with_true_values = true + config.raise_errors_for_deprecations! # Run specs in random order to surface order dependencies. If you find an # order dependency and want to debug it, you can fix the order by providing