Skip to content
Snippets Groups Projects
Commit 188692ad authored by msdundar's avatar msdundar
Browse files

Fix failing tests for commit_per_day

parent 635393b5
No related branches found
No related tags found
1 merge request!10495Merge Requests - Assignee
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment