Fix broken spec related to MySQL and fractional seconds support.

This commit is contained in:
Rubén Dávila 2015-12-02 14:40:43 -05:00 committed by Valery Sizov
parent ca7e31c48f
commit f94afdbdb2
1 changed files with 3 additions and 1 deletions

View File

@ -444,7 +444,9 @@ describe Project do
before do before do
2.times 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
end end