Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Commit

Permalink
Pathname#path needs to be to_s here as well
Browse files Browse the repository at this point in the history
  • Loading branch information
indirect authored and segiddins committed Jan 25, 2016
1 parent a3f2dd2 commit e545999
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/support/artifice/compact_index_extra_api.rb
Expand Up @@ -13,7 +13,7 @@ class CompactIndexExtraApi < CompactIndexAPI
etag_response do
file = tmp("versions.list")
file.delete if file.file?
file = CompactIndex::VersionsFile.new(file.to_path)
file = CompactIndex::VersionsFile.new(file.to_s)
file.update_with(gems(gem_repo4))
CompactIndex.versions(file, nil, {})
end
Expand Down

0 comments on commit e545999

Please sign in to comment.