lib/mongo/auth/user/view.rb in mongo-2.1.0.rc0 vs lib/mongo/auth/user/view.rb in mongo-2.1.0

- old
+ new

@@ -88,11 +88,11 @@ # # @since 2.0.0 def update(user_or_name, options = {}) user = generate(user_or_name, options) Operation::Write::UpdateUser.new( - user: user, - db_name: database.name + user: user, + db_name: database.name ).execute(next_primary.context) end # Get info for a particular user in the database. #