Sha256: 19ca1f8c04c3b0d75ea05f093e4e3f07a6f6f46616b67384da6520b675cb8de5

Contents?: true

Size: 427 Bytes

Versions: 2

Compression:

Stored size: 427 Bytes

Contents

ENV["RAILS_ENV"] ||= 'test'
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
require 'cancannible'
require 'active_record'
require 'sqlite3'

# Requires supporting files with custom matchers and macros, etc,
# in ./support/ and its subdirectories.
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}

RSpec.configure do |config|
  config.before do
    Cancannible.reset!
    run_migrations
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cancannible-0.0.2 spec/spec_helper.rb
cancannible-0.0.1 spec/spec_helper.rb