1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
# encoding: binary
#require 'bundler/setup'
require 'rspec'
begin
require 'simplecov'
SimpleCov.start do
add_filter '/spec/'
end
rescue LoadError
end
$: << File.expand_path('../../lib', __FILE__)
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)
end
|