Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2017-05-15 18:03:34 +0300
committerDouwe Maan <douwe@selenight.nl>2017-05-15 18:03:34 +0300
commitb0a163208c1b428fc9f5adad6489f8a3ab884a2b (patch)
treeabd5fa0ff2fb12d00a2a7b199ce2fb5eb1ef12e2 /spec/views
parentacffc062133e5793ac08b9529ab54689557766d4 (diff)
Rename BlobViewer max_size to overridable_max_size and absolute_max_size to max_size
Diffstat (limited to 'spec/views')
-rw-r--r--spec/views/projects/blob/_viewer.html.haml_spec.rb4
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