From 9a912b9b3511da87514ce1a73a21bbea0618ba0c Mon Sep 17 00:00:00 2001 From: Arpit Jalan Date: Fri, 20 Apr 2018 00:39:12 +0530 Subject: [PATCH] fix the build --- spec/components/validators/upload_validator_spec.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/spec/components/validators/upload_validator_spec.rb b/spec/components/validators/upload_validator_spec.rb index fc7db5544b2..77dd4a1f0c0 100644 --- a/spec/components/validators/upload_validator_spec.rb +++ b/spec/components/validators/upload_validator_spec.rb @@ -13,8 +13,7 @@ describe Validators::UploadValidator do created_upload = UploadCreator.new(csv_file, nil).create_for(user.id) validator.validate(created_upload) expect(created_upload).to_not be_valid - expect(created_upload.errors.full_messages.first) - .to include(I18n.t("activerecord.errors.messages.blank")) + expect(created_upload.errors.full_messages.first).to include(I18n.t("activerecord.errors.messages.blank")) end it "allows 'gz' as extension when uploading export file" do