Sha256: 4d630eaf5cbad1cfaf22d88e7ad28bf0c08fb81c87111e63160ecd0683c3c7f6

Contents?: true

Size: 562 Bytes

Versions: 15

Compression:

Stored size: 562 Bytes

Contents

module Ardm
  module Fixtures
      class TShirt < ::Ardm::Record
        self.table_name = "tshirts"

        property :id,          Serial
        property :writing,     String
        property :has_picture, Boolean, :default => false, :required => true
        property :picture,     Enum[:octocat, :fork_you, :git_down]

        property :color, Enum[:white, :black, :red, :orange, :yellow, :green, :cyan, :blue, :purple]
        property :size,  Flag[:xs, :small, :medium, :large, :xl, :xxl], :default => :xs
      end # Shirt
    end # Fixtures
end # Ardm

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
ardm-0.4.0.ar427 spec/fixtures/tshirt.rb
ardm-0.4.0 spec/fixtures/tshirt.rb
ardm-0.3.2 spec/fixtures/tshirt.rb
ardm-0.3.1 spec/fixtures/tshirt.rb
ardm-0.3.0 spec/fixtures/tshirt.rb
ardm-0.2.7 spec/fixtures/tshirt.rb
ardm-0.2.6 spec/fixtures/tshirt.rb
ardm-0.2.5 spec/fixtures/tshirt.rb
ardm-0.2.4 spec/fixtures/tshirt.rb
ardm-0.2.3 spec/fixtures/tshirt.rb
ardm-0.2.2 spec/fixtures/tshirt.rb
ardm-0.2.1 spec/fixtures/tshirt.rb
ardm-0.2.0 spec/fixtures/tshirt.rb
ardm-0.1.0 spec/fixtures/tshirt.rb
ardm-0.0.1 spec/fixtures/tshirt.rb