Sha256: 4d72cc1f76713df4a235ccc13fe0ec7030f982d6255366bf58188ba043034fcb

Contents?: true

Size: 678 Bytes

Versions: 2

Compression:

Stored size: 678 Bytes

Contents

require "bundler"

unless ENV["TRAVIS_CI"]
  if RUBY_VERSION[0] == "2"
    require "byebug"
  else
    require "debugger"
  end
end

# if ENV["TRAVIS_CI"]
#   require "simplecov"
#   require "coveralls"

#   SimpleCov.formatter = Coveralls::SimpleCov::Formatter

#   SimpleCov.start do
#     add_filter "/spec/"
#   end
# end

if ENV["TRAVIS_CI"]
  Bundler.require
else
  Bundler.require(:default, :tools)
end

# if defined?(Rails) && !Rails.respond_to?(:env)
#   module Rails
#     def self.env
#       "default_env"
#     end
#   end
# end

Dir[File.expand_path("../support/**/*.rb", __FILE__)].each {|f| require f }

RSpec.configure do |config|
  config.order = "random"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jamjar-1.1.0 spec/spec_helper.rb
jamjar-1.0.0 spec/spec_helper.rb