Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
elohanlon committed Dec 17, 2024
1 parent c3ab328 commit fee1ece
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/requests/digital_objects_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@

# Make sure that path to DigitalObject::Asset is internal, and stored within the hyacinth asset directory
digital_object = DigitalObject::Base.find(response_json['pid'])
expect(digital_object.filesystem_location).to start_with("file://#{HYACINTH[:default_asset_home]}")
expect(digital_object.filesystem_location).to start_with(HYACINTH[:default_asset_home])
expect(digital_object.original_file_path).to eq(path_to_fixture_file)
end

Expand All @@ -149,7 +149,7 @@

# Make sure that path to DigitalObject::Asset is external, and continues to exist in the external directory referenced during the upload
digital_object = DigitalObject::Base.find(response_json['pid'])
expect(digital_object.filesystem_location).to eq("file://#{path_to_fixture_file}")
expect(digital_object.filesystem_location).to eq(path_to_fixture_file)
expect(digital_object.original_file_path).to eq(path_to_fixture_file)
end

Expand Down

0 comments on commit fee1ece

Please sign in to comment.