Skip to content

Commit

Permalink
add config argument
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcam-src committed Aug 12, 2024
1 parent 0823db5 commit bf71af9
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion spec/services/tasks/dimensions_query_service_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,16 @@
File.read(File.join(Rails.root, '/spec/fixtures/files/dimensions_query_response.json'))
end

let(:service) { described_class.new }
let(:config) {
{
'admin_set' => 'Open_Access_Articles_and_Book_Chapters',
'depositor_onyen' => 'admin',
'download_delay' => 0,
'wiley_tdm_api_token' => 'test-token'
}
}

let(:service) { described_class.new(config) }

before do
ActiveFedora::Cleaner.clean!
Expand Down

0 comments on commit bf71af9

Please sign in to comment.