diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-12-03 13:32:16 +0100 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-12-03 13:32:16 +0100 |
commit | 3b70d5b207e7f9fbd20584d0a42d06609b61e751 (patch) | |
tree | 925234438a2a7fb0508cdfa551dcfe1068a0de39 /spec/models/project_spec.rb | |
parent | a8e463c8aca571ede3691c98f7f3990d3d880d0b (diff) | |
parent | 6689224a90f3d2500be5d927ea1ed9656fc7b1b6 (diff) | |
download | gitlab-ce-fork-event.tar.gz |
Merge branch 'master' into fork-eventfork-event
Diffstat (limited to 'spec/models/project_spec.rb')
-rw-r--r-- | spec/models/project_spec.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/models/project_spec.rb b/spec/models/project_spec.rb index f80fada45e9..06a02c13bf1 100644 --- a/spec/models/project_spec.rb +++ b/spec/models/project_spec.rb @@ -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 |