spec/spec_helper.rb in amq-protocol-1.9.2 vs spec/spec_helper.rb in amq-protocol-2.0.0

- old
+ new

@@ -1,9 +1,10 @@ # encoding: binary require 'bundler/setup' require 'rspec' +require 'rspec/its' require "effin_utf8" begin require 'simplecov' @@ -18,18 +19,10 @@ require "amq/protocol" puts "Running on #{RUBY_VERSION}" -module RubyVersionsSupport - def one_point_eight? - RUBY_VERSION =~ /^1.8/ - end -end # RubyVersionsSUpport - - RSpec.configure do |config| config.include AMQ::Protocol - config.include(RubyVersionsSupport) - config.extend(RubyVersionsSupport) + config.warnings = true end