diff options
author | msdundar <msdundars@gmail.com> | 2018-07-31 20:25:15 +0300 |
---|---|---|
committer | msdundar <msdundars@gmail.com> | 2018-07-31 20:25:15 +0300 |
commit | 188692ad2842c2e69c7ffeee0f04b19ae5455b9b (patch) | |
tree | f4b5c30dd4a3d5b553269239a5a63005d59f1777 /spec/lib/gitlab/graphs | |
parent | 635393b50bae8fea3eb8e78ae423707c34b1f554 (diff) |
Fix failing tests for commit_per_day
Diffstat (limited to 'spec/lib/gitlab/graphs')
-rw-r--r-- | spec/lib/gitlab/graphs/commits_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/graphs/commits_spec.rb b/spec/lib/gitlab/graphs/commits_spec.rb index 035d97cccbc..530d4a981bf 100644 --- a/spec/lib/gitlab/graphs/commits_spec.rb +++ b/spec/lib/gitlab/graphs/commits_spec.rb @@ -29,7 +29,7 @@ describe Gitlab::Graphs::Commits do context 'with commits from yesterday and today' do subject { described_class.new([commit2, commit1_yesterday]) } describe '#commit_per_day' do - it { expect(subject.commit_per_day).to eq 0.7 } + it { expect(subject.commit_per_day).to eq 1.0 } end describe '#duration' do |