test/download_strategies/abstract_spec: fix test
This commit is contained in:
parent
4db46eea4e
commit
c8d0a1904d
@ -12,7 +12,7 @@ RSpec.describe AbstractDownloadStrategy do
|
||||
let(:args) { %w[foo bar baz] }
|
||||
|
||||
specify "#source_modified_time" do
|
||||
Mktemp.new("mtime") do
|
||||
mktmpdir("mtime").cd do
|
||||
FileUtils.touch "foo", mtime: Time.now - 10
|
||||
FileUtils.touch "bar", mtime: Time.now - 100
|
||||
FileUtils.ln_s "not-exist", "baz"
|
||||
|
Loading…
x
Reference in New Issue
Block a user