Commit 188692ad authored by msdundar's avatar msdundar

Fix failing tests for commit_per_day

parent 635393b5
...@@ -29,7 +29,7 @@ describe Gitlab::Graphs::Commits do ...@@ -29,7 +29,7 @@ describe Gitlab::Graphs::Commits do
context 'with commits from yesterday and today' do context 'with commits from yesterday and today' do
subject { described_class.new([commit2, commit1_yesterday]) } subject { described_class.new([commit2, commit1_yesterday]) }
describe '#commit_per_day' do 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 end
describe '#duration' do describe '#duration' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment