diff options
Diffstat (limited to 'spec/ruby/core/file/mtime_spec.rb')
-rw-r--r-- | spec/ruby/core/file/mtime_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/file/mtime_spec.rb b/spec/ruby/core/file/mtime_spec.rb index c5d854bb08..833f759eaa 100644 --- a/spec/ruby/core/file/mtime_spec.rb +++ b/spec/ruby/core/file/mtime_spec.rb @@ -12,7 +12,7 @@ describe "File.mtime" do it "returns the modification Time of the file" do File.mtime(@filename).should be_kind_of(Time) - File.mtime(@filename).should be_close(@mtime, 60.0) + File.mtime(@filename).should be_close(@mtime, TIME_TOLERANCE) end guard -> { platform_is :linux or (platform_is :windows and ruby_version_is '2.5') } do |