Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed bug for unit test helper

  • Loading branch information...
commit b4bc150acb47a62c441634c68d16ffc4554027de 1 parent a8a7234
Jae Kwon authored committed
Showing with 2 additions and 0 deletions.
  1. +2 −0  lib/couch_rest_rails.rb
View
2  lib/couch_rest_rails.rb
@@ -19,6 +19,8 @@ def process_database_method(database_name, &block)
# If wildcard passed, use model definitions for database names
if database_name == '*'
databases = CouchRestRails::Database.list
+ elsif database_name.is_a? Array
+ databases = database_name
else
databases = [database_name]
end
Please sign in to comment.
Something went wrong with that request. Please try again.