Sha256: 93539d9ea9cdaa0bace19eade6564b93d634fe8a0c99f6e6639155138747a696

Contents?: true

Size: 705 Bytes

Versions: 1

Compression:

Stored size: 705 Bytes

Contents

# encoding: UTF-8

require 'rspec'
Spec_dir = File.expand_path( File.dirname __FILE__ )


# code coverage
require 'simplecov'
SimpleCov.start do
  add_filter "/vendor/"
  add_filter "/bin/"
end

require "rack/test"
ENV['RACK_ENV'] ||= 'test'
ENV["EXPECT_WITH"] ||= "racktest"


require "logger"
logger = Logger.new STDOUT
logger.level = Logger::DEBUG
logger.datetime_format = '%a %d-%m-%Y %H%M '
LOgger = logger


Dir[ File.join( Spec_dir, "/support/**/*.rb")].each do |f| 
  logger.info "requiring #{f}"
  require f
end

require 'rack/test/accepts'

RSpec.configure do |config|
  config.treat_symbols_as_metadata_keys_with_true_values = true

  config.include Rack::Test::Accepts, :type => :request
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sinatra-exstatic-assets-2.0.0 spec/spec_helper.rb