diff options
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)}" |