Sha256: 64538e374f033a731a25c22dd3817fb80e86f53ece6d25ea57afa26fe6e24af1

Contents?: true

Size: 737 Bytes

Versions: 1

Compression:

Stored size: 737 Bytes

Contents

Fabricator(:profile_info, :class_name => 'TentD::Model::ProfileInfo') do |f|
  f.public true
  f.type_base 'https://tent.io/types/info/core'
  f.type_version '0.1.0'
  f.content { |attrs|
    {
      "licenses" => [
        "http://creativecommons.org/licenses/by-nc-sa/3.0/",
        "http://www.gnu.org/copyleft/gpl.html"
      ],
      "entity" => attrs[:entity],
      "servers" => [
        attrs[:entity],
        "https://backup-johnsmith.example.com"
      ]
    }
  }
end

Fabricator(:basic_profile_info, :class_name => 'TentD::Model::ProfileInfo') do |f|
  f.public true
  f.type_base 'https://tent.io/types/info/basic'
  f.type_version '0.1.0'
  f.content {
    {
      "name" => "John Smith",
      "age" => 25
    }
  }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tentd-0.0.1 spec/fabricators/profile_infos_fabricator.rb