mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 06:34:46 +02:00
Add test
This commit is contained in:
parent
5004e29824
commit
0161556c54
1 changed files with 14 additions and 0 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