Sha256: 6646ae391187c3f272e9d98d64ec9c408f8787bd2947b84c0539ce4f3c35fa0d
Contents?: true
Size: 550 Bytes
Versions: 1
Compression:
Stored size: 550 Bytes
Contents
require 'active_record' require 'cabalist' require 'rack/test' require 'sinatra' require 'sqlite3' require 'with_model' ActiveRecord::Base.establish_connection( :adapter => "sqlite3", :database => "/tmp/cabalist.sqlite3" ) Cabalist.configure do |config| config.db_path = '/tmp/cabalist_level.db' end RSpec.configure do |config| config.include Rack::Test::Methods config.extend WithModel end # setup test environment set :environment, :test set :run, false set :raise_errors, true set :logging, false def app Cabalist::Frontend end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cabalist-0.0.3 | spec/spec_helper.rb |