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/views | |
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/views')
-rw-r--r-- | spec/views/projects/blob/_viewer.html.haml_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/views/projects/blob/_viewer.html.haml_spec.rb b/spec/views/projects/blob/_viewer.html.haml_spec.rb index 611cb4cb224..c6b0ed8da3c 100644 --- a/spec/views/projects/blob/_viewer.html.haml_spec.rb +++ b/spec/views/projects/blob/_viewer.html.haml_spec.rb @@ -10,8 +10,8 @@ describe 'projects/blob/_viewer.html.haml', :view do include BlobViewer::Rich self.partial_name = 'text' - self.max_size = 1.megabyte - self.absolute_max_size = 5.megabytes + self.overridable_max_size = 1.megabyte + self.max_size = 5.megabytes self.load_async = true end end |