spec/spec_helper.rb in encrypted_id-1.0.0 vs spec/spec_helper.rb in encrypted_id-1.1.0
- old
+ new
@@ -6,9 +6,10 @@
# 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.order = 'random'
c = ActiveRecord::Base.establish_connection(
:adapter => 'sqlite3',
:database => 'spec/test.sqlite3'
)
[:users, :animals].each do |table|