fix the build

This commit is contained in:
Arpit Jalan 2018-04-20 00:39:12 +05:30
parent 91bf10bd12
commit 9a912b9b35
1 changed files with 1 additions and 2 deletions

View File

@ -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