spec/storage_spec.rb in vines-mongomapper-0.1.0 vs spec/storage_spec.rb in vines-mongomapper-0.1.1
- old
+ new
@@ -1,15 +1,13 @@
require 'spec_helper'
def storage
- storage = Vines::Storage::Mongomapper.new do
+ Vines::Storage::Mongomapper.new do
host 'localhost', 27017
database 'vines_mongo_rails_test'
+ username 'test'
+ password 'test123'
end
- def storage.db
- MOCK_MONGO
- end
- storage
end
def fibered
EM.run do
Fiber.new do
\ No newline at end of file