Commit 1b902a99 authored by Oswaldo Ferreira's avatar Oswaldo Ferreira

Adjust spec with wrong limit value (MBs)

parent 343e42b6
......@@ -751,7 +751,7 @@ describe Gitlab::GitAccess, lib: true do
describe 'repository size restrictions' do
before do
project.update_attribute(:repository_size_limit, 50)
project.update_attribute(:repository_size_limit, 50.megabytes)
end
it 'returns false when blob is too big' 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