diff options
author | James Lopez <james@jameslopez.es> | 2017-01-12 16:32:30 +0300 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2017-01-17 13:32:55 +0300 |
commit | 1d775d9712d0c493ae171e37fe507f5160cd7d0e (patch) | |
tree | 86516d3766ab0607743c68b063e01d5b3a9298c7 /app/models/cycle_analytics.rb | |
parent | 150a448596dda076f0893facbd621429738aba92 (diff) |
fix spec
Diffstat (limited to 'app/models/cycle_analytics.rb')
-rw-r--r-- | app/models/cycle_analytics.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/cycle_analytics.rb b/app/models/cycle_analytics.rb index 054a6070bb8..d2e626c22e8 100644 --- a/app/models/cycle_analytics.rb +++ b/app/models/cycle_analytics.rb @@ -17,7 +17,7 @@ class CycleAnalytics end def no_stats? - stats.all? { hash[:value].nil? } + stats.all? { |hash| hash[:value].nil? } end def permissions(user:) |