Sha256: a47f71235242a09c32362787ebc8429cb1496aac4a0301ff2997fdb8ba95cf62

Contents?: true

Size: 455 Bytes

Versions: 4

Compression:

Stored size: 455 Bytes

Contents

module DataMapper
  module Validation
    module Fixtures

      class Jabberwock
        #
        # Behaviors
        #

        include DataMapper::Resource

        #
        # Properties
        #

        property :id,           Serial
        property :snickersnack, String

        #
        # Validations
        #

        validates_length_of :snickersnack, :within => 3..40, :message => "worble warble"
      end # Jabberwock
    end
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
sbf-dm-validations-1.4.0 spec/fixtures/jabberwock.rb
sbf-dm-validations-1.3.0 spec/fixtures/jabberwock.rb
sbf-dm-validations-1.3.0.beta spec/fixtures/jabberwock.rb
aequitas-0.0.1 spec_legacy/fixtures/jabberwock.rb