Skip to content

Commit

Permalink
Fix input to batch_extract_rights
Browse files Browse the repository at this point in the history
  • Loading branch information
moseshll committed Jul 26, 2024
1 parent af383c1 commit 835ff3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/jobs/generate_hathifile_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@

describe "#batch_extract_rights" do
it "extracts rights_timestamp and access_profile" do
rights = GenerateHathifile.new.batch_extract_rights("test.pd_google")
rights = GenerateHathifile.new.batch_extract_rights(["test.pd_google"])
expect(rights).to be_a(Hash)
expect(rights["test.pd_google"]).not_to be_nil
expect(rights["test.pd_google"][:rights_timestamp]).to be_a(Time)
Expand Down

0 comments on commit 835ff3c

Please sign in to comment.