diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-11 03:11:00 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-11 03:11:00 +0000 |
commit | bdca0979165cb662173d959c358fce0c539c7544 (patch) | |
tree | 5a2a58ea3738592da1d84a2ed53410deea752a51 /spec/helpers/blame_helper_spec.rb | |
parent | 1a3d7fe0b65d92e322bfe33aebe6b64419203f4f (diff) | |
download | gitlab-ce-bdca0979165cb662173d959c358fce0c539c7544.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/helpers/blame_helper_spec.rb')
-rw-r--r-- | spec/helpers/blame_helper_spec.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/helpers/blame_helper_spec.rb b/spec/helpers/blame_helper_spec.rb index 6371c2b63ce..d305c4c595e 100644 --- a/spec/helpers/blame_helper_spec.rb +++ b/spec/helpers/blame_helper_spec.rb @@ -11,6 +11,7 @@ RSpec.describe BlameHelper do Time.zone.local(2013, 2, 24, 0, 0, 0), Time.zone.local(2010, 9, 22, 0, 0, 0)] end + let(:blame_groups) do [ { commit: double(committed_date: dates[0]) }, @@ -57,6 +58,7 @@ RSpec.describe BlameHelper do project = double(created_at: now) helper.age_map_duration(today_blame_groups, project) end + let(:today_blame_groups) { [{ commit: double(committed_date: now) }] } let(:now) { Time.zone.now } |