spec/spec_helper.rb in ezid-client-0.6.0 vs spec/spec_helper.rb in ezid-client-0.7.0
- old
+ new
@@ -16,20 +16,11 @@
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
require 'coveralls'
Coveralls.wear!
-require "ezid-client"
-
-Ezid::Client.configure do |config|
- config.user = "apitest"
- # Contact EZID for password
- # config.password = "********"
- config.logger = Logger.new(File::NULL)
-end
-
-ARK_SHOULDER = "ark:/99999/fk4"
-DOI_SHOULDER = "doi:10.5072/FK2"
+require "ezid/test_helper"
+ezid_test_mode!
RSpec.configure do |config|
# rspec-expectations config goes here. You can use an alternate
# assertion/expectation library such as wrong or the stdlib/minitest