Sha256: 08513185a38936b24a86bbfce17a18f76d07886b0d67461a19f64f3f3d6df1f5
Contents?: true
Size: 513 Bytes
Versions: 14
Compression:
Stored size: 513 Bytes
Contents
require 'rubygems' require File.expand_path("test_orm/boot") # Requires supporting ruby files with custom matchers and macros, etc, # in spec/support/ and its subdirectories. Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f} RSpec.configure do |config| config.mock_with :rspec require 'database_cleaner' config.before(:suite) do DatabaseCleaner.strategy = :truncation DatabaseCleaner.orm = "active_record" end config.before(:all) do DatabaseCleaner.clean end end
Version data entries
14 entries across 14 versions & 1 rubygems