Merge pull request #1451 from internetee/improve-legal-documents

Improve legal documents
This commit is contained in:
Timo Võhmar 2020-09-03 13:41:22 +03:00 committed by GitHub
commit 3836dcdf46
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 42 additions and 17 deletions

View file

@ -0,0 +1,14 @@
require 'test_helper'
class LegalDocumentTest < ActiveSupport::TestCase
def test_valid_legal_document_fixture_is_valid
assert valid_legal_document.valid?, proc { valid_legal_document.errors.full_messages }
end
private
def valid_legal_document
legal_documents(:one)
end
end