lib/ezid/test_helper.rb in ezid-client-0.1.0 vs lib/ezid/test_helper.rb in ezid-client-0.1.1
- old
+ new
@@ -1,10 +1,15 @@
module Ezid
module TestHelper
-
- TEST_USER = "apitest"
+
ARK_SHOULDER = "ark:/99999/fk4"
DOI_SHOULDER = "doi:10.5072/FK2"
+ USER = "apitest"
+
+ Client.configure do |config|
+ config.user = USER
+ config.default_shoulder = ARK_SHOULDER
+ end
def doi_metadata
Metadata.new("datacite.title" => "Test",
"datacite.creator" => "Duke",
"datacite.publisher" => "Duke",