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:
authorStan Hu <stanhu@gmail.com>2015-06-23 08:25:40 +0300
committerStan Hu <stanhu@gmail.com>2015-06-23 08:25:40 +0300
commit52aa21b12d692185a93cca529a2649fdeac6551d (patch)
treeddbb1c1154d73b17c9f41ffd9ad8c573e2ccc688 /spec/lib/file_size_validator_spec.rb
parent3446bea719d3e99fbcf91cab8792297cf286fa9c (diff)
Fix Style/IndentationWidth cop violations
Diffstat (limited to 'spec/lib/file_size_validator_spec.rb')
-rw-r--r--spec/lib/file_size_validator_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/lib/file_size_validator_spec.rb b/spec/lib/file_size_validator_spec.rb
index 68f9fb5e1ef..12ccc051c74 100644
--- a/spec/lib/file_size_validator_spec.rb
+++ b/spec/lib/file_size_validator_spec.rb
@@ -9,9 +9,9 @@ describe 'Gitlab::FileSizeValidatorSpec' do
let(:options) { { maximum: 10, attributes: { attachment: attachment } } }
it 'attachment exceeds maximum limit' do
- allow(attachment).to receive(:size) { 100 }
- validator.validate_each(note, :attachment, attachment)
- expect(note.errors).to have_key(:attachment)
+ allow(attachment).to receive(:size) { 100 }
+ validator.validate_each(note, :attachment, attachment)
+ expect(note.errors).to have_key(:attachment)
end
it 'attachment under maximum limit' do