diff --git a/spec/requests/authentication_spec.rb b/spec/requests/authentication_spec.rb index e7d58b8d2f..b022ebce50 100644 --- a/spec/requests/authentication_spec.rb +++ b/spec/requests/authentication_spec.rb @@ -75,7 +75,7 @@ get api_entrypoint_url - collection_names = Api::ApiConfig.collections.to_h.select { |_, v| v.options.include?(:collection) }.keys + collection_names = Api::ApiConfig.collections.to_h.select { |_, v| v[:options].include?(:collection) }.keys hrefs = collection_names.collect { |name| url_for(:controller => name, :action => "index") } expected = { "collections" => a_collection_containing_exactly(