Permalink
Browse files

fixed bug for unit test helper

  • Loading branch information...
Jae Kwon authored and henrypoydar committed Apr 22, 2010
1 parent a8a7234 commit b4bc150acb47a62c441634c68d16ffc4554027de
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/couch_rest_rails.rb
View
@@ -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

0 comments on commit b4bc150

Please sign in to comment.