diff options
author | Douwe Maan <douwe@selenight.nl> | 2017-05-15 10:03:34 -0500 |
---|---|---|
committer | Douwe Maan <douwe@selenight.nl> | 2017-05-15 10:03:34 -0500 |
commit | b0a163208c1b428fc9f5adad6489f8a3ab884a2b (patch) | |
tree | abd5fa0ff2fb12d00a2a7b199ce2fb5eb1ef12e2 /spec/helpers | |
parent | acffc062133e5793ac08b9529ab54689557766d4 (diff) | |
download | gitlab-ce-b0a163208c1b428fc9f5adad6489f8a3ab884a2b.tar.gz |
Rename BlobViewer max_size to overridable_max_size and absolute_max_size to max_sizedm-blob-viewer-concerns
Diffstat (limited to 'spec/helpers')
-rw-r--r-- | spec/helpers/blob_helper_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/helpers/blob_helper_spec.rb b/spec/helpers/blob_helper_spec.rb index b8f9828df5a..41b5df12522 100644 --- a/spec/helpers/blob_helper_spec.rb +++ b/spec/helpers/blob_helper_spec.rb @@ -118,8 +118,8 @@ describe BlobHelper do Class.new(BlobViewer::Base) do include BlobViewer::ServerSide - self.max_size = 1.megabyte - self.absolute_max_size = 5.megabytes + self.overridable_max_size = 1.megabyte + self.max_size = 5.megabytes self.type = :rich end end |