mirror of
https://github.com/internetee/registry.git
synced 2025-08-02 07:52:04 +02:00
Merge pull request #1451 from internetee/improve-legal-documents
Improve legal documents
This commit is contained in:
commit
3836dcdf46
12 changed files with 42 additions and 17 deletions
14
test/models/legal_document_test.rb
Normal file
14
test/models/legal_document_test.rb
Normal 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
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue