spec/spec_helper.rb in amq-protocol-2.2.0 vs spec/spec_helper.rb in amq-protocol-2.3.0.rc1
- old
+ new
@@ -1,13 +1,10 @@
# encoding: binary
require 'bundler/setup'
-require 'rspec'
-require 'rspec/its'
+Bundler.require(:test)
-require "effin_utf8"
-
begin
require 'simplecov'
SimpleCov.start do
add_filter '/spec/'
@@ -21,8 +18,12 @@
puts "Running on #{RUBY_VERSION}"
RSpec.configure do |config|
config.include AMQ::Protocol
+
+ config.filter_run_when_matching :focus
+
+ config.disable_monkey_patching!
config.warnings = true
end