Sha256: b8df32e98e84b32ec8d5e164a713d173ec2732754215567e3085f27dae54459d
Contents?: true
Size: 751 Bytes
Versions: 3
Compression:
Stored size: 751 Bytes
Contents
$:.unshift File.expand_path(__dir__) $:.unshift File.expand_path('../lib',__dir__) $:.unshift File.expand_path('support',__dir__) require 'bundler' Bundler.setup :default, :test require 'simplecov' SimpleCov.start 'praxis' require 'praxis' require 'rack/test' require 'rspec/its' require 'rspec/collection_matchers' require 'pry' Dir["#{File.dirname(__FILE__)}/support/*.rb"].each do |file| require file end RSpec.configure do |config| config.include Rack::Test::Methods config.before(:suite) do Praxis::Blueprint.caching_enabled = true Praxis::Application.instance.setup(root:'spec/spec_app') end config.before(:each) do Praxis::Blueprint.cache = Hash.new do |hash, key| hash[key] = Hash.new end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
praxis-0.10.1 | spec/spec_helper.rb |
praxis-0.10.0 | spec/spec_helper.rb |
praxis-0.9 | spec/spec_helper.rb |