spec/spec_helper.rb in ezid-client-0.3.0 vs spec/spec_helper.rb in ezid-client-0.4.0
- old
+ new
@@ -14,21 +14,18 @@
# users commonly want.
#
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
require "ezid-client"
-require "ezid/test_helper"
-include Ezid::TestHelper
-
-require "vcr"
-
-VCR.configure do |c|
- c.cassette_library_dir = 'spec/cassettes'
- c.hook_into :webmock
- c.configure_rspec_metadata!
- c.allow_http_connections_when_no_cassette = true
+Ezid::Client.configure do |config|
+ config.user = "apitest"
+ # Contact EZID for password
+ # config.password = "********"
end
+
+ARK_SHOULDER = "ark:/99999/fk4"
+DOI_SHOULDER = "doi:10.5072/FK2"
RSpec.configure do |config|
# rspec-expectations config goes here. You can use an alternate
# assertion/expectation library such as wrong or the stdlib/minitest