spec/integration/repo_spec.rb in git_stats-1.0.6 vs spec/integration/repo_spec.rb in git_stats-1.0.7

- old
+ new

@@ -27,16 +27,14 @@ it 'should count files in repo' do repo.files_count.should == 6 end it 'should count files by date' do - repo.files_count_by_date.keys.should == commit_dates - repo.files_count_by_date.values.should == [1, 2, 2, 3, 3, 4, 5, 5, 6, 6] + repo.files_count_by_date.keys == Hash[commit_dates_with_empty.zip [1, 2, 2, 3, 3, 4, 5, 5, 6, 6]] end it 'should count lines by date' do - repo.lines_count_by_date.keys.should == commit_dates - repo.files_count_by_date.values.should == [1, 2, 2, 3, 3, 4, 5, 5, 6, 6] + repo.files_count_by_date.values == Hash[commit_dates_with_empty.zip [1, 2, 2, 3, 3, 4, 5, 5, 6, 6]] end it 'should count all lines in repo' do repo.lines_count.should == 1114 end