Skip to content
Snippets Groups Projects
Commit 843df4ed authored by Valery Sizov's avatar Valery Sizov
Browse files

Merge branch 'test_fix' into 'master'

Fix broken spec related to MySQL and fractional seconds support.



See merge request !1973
parents ca7e31c4 f94afdbd
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment