Merge branch 'test_fix' into 'master'

Fix broken spec related to MySQL and fractional seconds support.



See merge request !1973
This commit is contained in:
Valery Sizov 2015-12-03 09:27:36 +00:00
commit 843df4edd4

View file

@ -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