summaryrefslogtreecommitdiff
path: root/spec/models/commit_spec.rb
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-05-02 22:41:37 -0400
committerRobert Speicher <rspeicher@gmail.com>2015-05-26 15:48:29 -0400
commit38cd3d64514655c508eba980b7abc216ef2a1c0b (patch)
tree89eb6f32bae11b6a76ab83c2de9a5f3b071b143f /spec/models/commit_spec.rb
parent0ec1e4c028b6e663929b38f1c90f4158f9a49cc2 (diff)
downloadgitlab-ce-38cd3d64514655c508eba980b7abc216ef2a1c0b.tar.gz
Add Commit#==
Prior, comparison would use the Ruby object's ID, which got out of sync after a Spring fork and would result in erroneous test failures. Now we just check that the compared object is a Commit and then compare their underlying raw commit objects.
Diffstat (limited to 'spec/models/commit_spec.rb')
0 files changed, 0 insertions, 0 deletions