Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Switched to using Mongoid's new test connection interface

  • Loading branch information...
commit 6a14124302aaad0458d52a23e03dc8af73f4dd19 1 parent f26cb3c
@rmm5t rmm5t authored
Showing with 1 addition and 4 deletions.
  1. +1 −4 spec/spec_helper.rb
View
5 spec/spec_helper.rb
@@ -7,10 +7,7 @@
require 'carrierwave/mongoid'
Mongoid.configure do |config|
- logger = Logger.new('log/test.log')
- config.logger = logger
- config.master = Mongo::Connection.new('localhost', 27017,
- :logger => logger).db('carrierwave_test')
+ config.connect_to('carrierwave_test')
end
def file_path( *paths )
Please sign in to comment.
Something went wrong with that request. Please try again.