diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-04 21:09:49 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-04 21:09:49 +0300 |
commit | 2ecc6e22e3517a2e0d9a5bd0d4297c74e2f338d4 (patch) | |
tree | 39e5264a6ea6467910471ed5e98eb379d66a6982 /spec/features/calendar_spec.rb | |
parent | aca89cb7e933eca98b794cbd5457ffabd54b43f7 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/calendar_spec.rb')
-rw-r--r-- | spec/features/calendar_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/calendar_spec.rb b/spec/features/calendar_spec.rb index 5b78d93ae04..346f305f0d0 100644 --- a/spec/features/calendar_spec.rb +++ b/spec/features/calendar_spec.rb @@ -36,7 +36,7 @@ RSpec.describe 'Contributions Calendar', :js do def get_cell_date_selector(contributions, date) contribution_text = - if contributions.zero? + if contributions == 0 'No contributions' else "#{contributions} #{'contribution'.pluralize(contributions)}" |