spec/lib/tabs/task_spec.rb in tabs-0.8.0 vs spec/lib/tabs/task_spec.rb in tabs-0.8.1

- old
+ new

@@ -64,10 +64,10 @@ metric.complete(token_3) stats = metric.stats((now - 5.minutes)..(now + 5.minutes), :minute) expect(stats.started_within_period).to eq 3 expect(stats.completed_within_period).to eq 2 expect(stats.started_and_completed_within_period).to eq 2 - expect(stats.completion_rate).to eq 0.18 + expect(stats.completion_rate).to eq 0.18182 expect(stats.average_completion_time).to eq 1.5 end end