Skip to content

Commit

Permalink
make flakey test more robust (#6277)
Browse files Browse the repository at this point in the history
Merge pull request 6277
  • Loading branch information
Crunch09 authored and jekyllbot committed Aug 6, 2017
1 parent 6b1aa4c commit 39631db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_static_file.rb
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def setup_static_file_with_defaults(base, dir, name, defaults)
end

should "know its last modification time" do
assert_equal Time.new.to_i, @static_file.mtime
assert_equal File.stat(@static_file.path).mtime.to_i, @static_file.mtime
end

should "only set modified time if not a symlink" do
Expand Down

0 comments on commit 39631db

Please sign in to comment.