summaryrefslogtreecommitdiff
path: root/spec/models
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-12-03 13:32:42 +0100
committerDouwe Maan <douwe@gitlab.com>2015-12-03 13:32:42 +0100
commit928d131e3974018581d561a7eb11d6524d2e79a2 (patch)
tree8f2c76dfe2576ed86e7850805ad6fd43f0b9c653 /spec/models
parent044e0e33dce9371430a3c91e63f9f687b536d35b (diff)
parent6689224a90f3d2500be5d927ea1ed9656fc7b1b6 (diff)
downloadgitlab-ce-928d131e3974018581d561a7eb11d6524d2e79a2.tar.gz
Merge branch 'master' into link-refs
Diffstat (limited to 'spec/models')
-rw-r--r--spec/models/project_spec.rb4
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