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:
authorRobert Speicher <rspeicher@gmail.com>2015-06-22 23:00:54 +0300
committerRobert Speicher <rspeicher@gmail.com>2015-06-22 23:00:54 +0300
commit15a05be70d7652a98f870c5b5d02373dabf363e0 (patch)
tree970f32c6d3fb705c5626b503dee5e683049f5c8e /spec/lib/file_size_validator_spec.rb
parent88328392918deeb459c1d991559f9b40b5fc1026 (diff)
Fix Style/Blocks cop violations
Diffstat (limited to 'spec/lib/file_size_validator_spec.rb')
-rw-r--r--spec/lib/file_size_validator_spec.rb9
1 files changed, 7 insertions, 2 deletions
diff --git a/spec/lib/file_size_validator_spec.rb b/spec/lib/file_size_validator_spec.rb
index 5c89c854714..68f9fb5e1ef 100644
--- a/spec/lib/file_size_validator_spec.rb
+++ b/spec/lib/file_size_validator_spec.rb
@@ -22,8 +22,13 @@ describe 'Gitlab::FileSizeValidatorSpec' do
end
describe 'options uses a symbol' do
- let(:options) { { maximum: :test,
- attributes: { attachment: attachment } } }
+ let(:options) do
+ {
+ maximum: :test,
+ attributes: { attachment: attachment }
+ }
+ end
+
before do
allow(note).to receive(:test) { 10 }
end