Sha256: b3200730ad8cbed443e9ab7a85301dce1d1714f2cdd54a070e86d417978f058d

Contents?: true

Size: 763 Bytes

Versions: 3

Compression:

Stored size: 763 Bytes

Contents

require 'bundler'
Bundler.setup(:default, :development)

unless RUBY_PLATFORM =~ /java/
  require 'simplecov'
  require 'coveralls'

  SimpleCov.formatter = Coveralls::SimpleCov::Formatter
  SimpleCov.start do
    add_filter('spec')
  end
end

require 'sekken'

if logger_to_enable = ENV['DEBUG']
  logger = Logging.logger[logger_to_enable]
  logger.add_appenders(Logging.appenders.stdout)
  logger.level = :debug
end

if ENV['GRAPH']
  require 'rubydeps'
  Rubydeps.start
end

require 'equivalent-xml'
require 'equivalent-xml/rspec_matchers'

support_files = File.expand_path('spec/support/**/*.rb')
Dir[support_files].each { |file| require file }

RSpec.configure do |config|
  config.include SpecSupport
  config.mock_with :mocha
  config.order = 'random'
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sekken-0.3.0 spec/spec_helper.rb
sekken-0.2.0 spec/spec_helper.rb
sekken-0.1.0 spec/spec_helper.rb