test/unit/hqmf/2.0/document_v2_test.rb
Method test_roundtrip
has 90 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def test_roundtrip
assert_equal 'foo', @model.id
assert_equal "Statin Prescribed at Discharge", @model.title.strip
assert_equal "Acute myocardial infarction (AMI) patients who are prescribed a statin at hospital discharge.", @model.description.strip
data_criteria = @model.all_data_criteria
File document_v2_test.rb
has 284 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
require_relative '../../../test_helper'
class DocumentV2Test < Minitest::Test
def setup
# Parse the sample file and convert to the model