Sha256: d0f809106b956909a9a1b7af4e2a0efcc1f587961ce4653eb57721cf9413e29b
Contents?: true
Size: 544 Bytes
Versions: 3
Compression:
Stored size: 544 Bytes
Contents
ENV['RACK_ENV'] = 'test' require 'sinatra' require 'sinatra/contrib' require 'app/application' require 'rspec' require 'rack/test' Dir[File.expand_path '../support/**/*.rb', __FILE__].each { |file| require file } RSpec.configure do |config| config.expect_with :rspec include Rack::Test::Methods include RequestSupport DatabaseCleaner.clean_with :truncation DatabaseCleaner.strategy = :transaction before :all do DatabaseCleaner.start end after :all do DatabaseCleaner.clean end def app App::Base end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sinatra-active-model-serializers-0.1.0 | spec/spec_helper.rb |
sinatra-active-model-serializers-0.0.3 | spec/spec_helper.rb |
sinatra-active-model-serializers-0.0.2 | spec/spec_helper.rb |