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

Version Path
lolita-menu-0.1.6 spec/spec_helper.rb
lolita-menu-0.1.5 spec/spec_helper.rb
lolita-menu-0.1.4 spec/spec_helper.rb
lolita-menu-0.1.1 spec/spec_helper.rb
lolita-menu-0.1.0 spec/spec_helper.rb
lolita-menu-0.0.15 spec/spec_helper.rb
lolita-menu-0.0.14 spec/spec_helper.rb
lolita-menu-0.0.13 spec/spec_helper.rb
lolita-menu-0.0.12 spec/spec_helper.rb
lolita-menu-0.0.11 spec/spec_helper.rb
lolita-menu-0.0.10 spec/spec_helper.rb
lolita-menu-0.0.9 spec/spec_helper.rb
lolita-menu-0.0.8 spec/spec_helper.rb
lolita-menu-0.0.6 spec/spec_helper.rb