Sha256: e51ac0e98642be241c3887046fe629b847508bc78939dfa5c2dc102f45b13738

Contents?: true

Size: 305 Bytes

Versions: 8

Compression:

Stored size: 305 Bytes

Contents

require_relative 'person_name'

def assert_endeavour_person(data)
  assert_instance_of Puree::Model::EndeavourPerson, data
  assert data.data?
  assert_instance_of String, data.uuid
  refute_empty data.uuid
  assert_instance_of String, data.role
  refute_empty data.role
  assert_person_name data.name
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
puree-2.9.2 test/common/endeavour_person.rb
puree-2.9.1 test/common/endeavour_person.rb
puree-2.9.0 test/common/endeavour_person.rb
puree-2.8.1 test/common/endeavour_person.rb
puree-2.8.0 test/common/endeavour_person.rb
puree-2.7.0 test/common/endeavour_person.rb
puree-2.6.0 test/common/endeavour_person.rb
puree-2.5.1 test/common/endeavour_person.rb