Sha256: aec8ab65556efe412a2427d8c4b6673671cccc30a1f414a9c2f441ca8f039003
Contents?: true
Size: 510 Bytes
Versions: 2
Compression:
Stored size: 510 Bytes
Contents
require "rubygems" require "bundler/setup" require "rack" require "rack/test" require "rspec" require "sqlite3" require "sequel" require "core_data" require "rack/scaffold" require "database_cleaner" DB = Sequel.sqlite RSpec.configure do |config| config.include Rack::Test::Methods config.color = true config.before(:suite) do DatabaseCleaner.strategy = :transaction end config.before(:each) do DatabaseCleaner.start end config.after(:each) do DatabaseCleaner.clean end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rack-scaffold-0.2.2 | spec/spec_helper.rb |
rack-scaffold-0.2.0 | spec/spec_helper.rb |