spec/support/mongoid.rb in mongoid-history-0.8.3 vs spec/support/mongoid.rb in mongoid-history-0.8.5

- old
+ new

@@ -1,11 +1,11 @@ -Mongoid.configure do |config| - config.connect_to('mongoid_history_test') -end - -RSpec.configure do |config| - config.after(:each) do - Mongoid.purge! - end - - config.backtrace_exclusion_patterns = [%r{lib\/rspec\/(core|expectations|matchers|mocks)}] -end +Mongoid.configure do |config| + config.connect_to('mongoid_history_test') +end + +RSpec.configure do |config| + config.after(:each) do + Mongoid.purge! + end + + config.backtrace_exclusion_patterns = [%r{lib\/rspec\/(core|expectations|matchers|mocks)}] +end