Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormsdundar <msdundars@gmail.com>2018-07-30 03:37:47 +0300
committermsdundar <msdundars@gmail.com>2018-07-30 03:37:47 +0300
commit635393b50bae8fea3eb8e78ae423707c34b1f554 (patch)
tree4c6cbe0fa529ba5d608916c7fbe02bad278fa6ce /spec/lib/gitlab/graphs
parent87f03f01735fb4b6dbef2e4bf625cf2546523a4e (diff)
Show one digit after dot in commit_per_day value in charts page.
Closes #26512
Diffstat (limited to 'spec/lib/gitlab/graphs')
-rw-r--r--spec/lib/gitlab/graphs/commits_spec.rb2
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 b2084f56640..035d97cccbc 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 1 }
+ it { expect(subject.commit_per_day).to eq 0.7 }
end
describe '#duration' do