Commit f94afdbd authored by Rubén Dávila's avatar Rubén Dávila Committed by Valery Sizov

Fix broken spec related to MySQL and fractional seconds support.

parent ca7e31c4
......@@ -444,7 +444,9 @@ describe Project do
before do
2.times do
create(:note_on_commit, project: project2, created_at: date)
# Little fix for special issue related to Fractional Seconds support for MySQL.
# See: https://github.com/rails/rails/pull/14359/files
create(:note_on_commit, project: project2, created_at: date + 1)
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment