diff options
author | Rémy Coutable <remy@rymai.me> | 2017-01-18 19:00:57 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-01-18 19:00:57 +0300 |
commit | 7c7b20417fa45c54d3fce9aaac2042a8964325d9 (patch) | |
tree | 7f614efb5826c9b11cbdb05574bc04e082facf42 /spec | |
parent | 52e652cbe727f0afc48c74330e6bef72712effad (diff) | |
parent | 4bb3675b7d48e5215b63b3e94063188b719c59ea (diff) |
Merge branch '26773-fix-project-statistics-repository-size' into 'master'
Resolve "Wrong file size on repository page"
Closes #26773
See merge request !8616
Diffstat (limited to 'spec')
-rw-r--r-- | spec/models/project_statistics_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/project_statistics_spec.rb b/spec/models/project_statistics_spec.rb index 77403cc9eb0..ff29f6f66ba 100644 --- a/spec/models/project_statistics_spec.rb +++ b/spec/models/project_statistics_spec.rb @@ -107,7 +107,7 @@ describe ProjectStatistics, models: true do describe '#update_repository_size' do before do - allow(project.repository).to receive(:size).and_return(12.megabytes) + allow(project.repository).to receive(:size).and_return(12) statistics.update_repository_size end |