spec/data_mapper/spec_helper.rb in cancan-permits-0.2.5 vs spec/data_mapper/spec_helper.rb in cancan-permits-0.2.7

- old
+ new

@@ -5,9 +5,11 @@ require 'dm-migrations' DataMapper::Logger.new($stdout, :debug) DataMapper.setup(:default, 'sqlite::memory:') +Permits::Ability.orm = :data_mapper + RSpec.configure do |config| config.mock_with :mocha end require_all File.dirname(__FILE__) + '/models/all_models'