Sha256: 015e479641a7c37aab8608873fcdcc5a6e0f46cd84f7bc2c086ad9f92a59f1f1

Contents?: true

Size: 1.77 KB

Versions: 1

Compression:

Stored size: 1.77 KB

Contents

en:
  remarkable:
    mongo_mapper:
      describe:
        each: "{{key}} is {{value}}"
        prepend: "when "
        connector: " and "
      expectations:
        allow_nil: "{{subject_name}} to {{not}}allow nil values for {{attribute}}"
        allow_blank: "{{subject_name}} to {{not}}allow blank values for {{attribute}}"
      optionals:
        allow_nil:
          positive: "allowing nil values"
          negative: "not allowing nil values"
        allow_blank:
          positive: "allowing blank values"
          negative: "not allowing blank values"
      
      allow_values_for:
        description: "allow {{in}} as values for {{attributes}}"
        expectations:
          is_valid: "{{subject_name}} to be valid when {{attribute}} is set to {{value}}"
          
      association:
        many: have many
        belongs_to: belong to
        description: "{{type}} {{associations}}"
        expectations:
          association_exists: "{{subject_name}} records {{type}} {{association}}, but the association does not exist"
          type_matches: "{{subject_name}} records {{type}} {{association}}, got {{subject_name}} records {{actual_type}} {{association}}"
          klass_exists: "{{subject_name}} records {{type}} {{association}}, but the association class does not exist"
          options_match: "{{subject_name}} records {{type}} {{association}} with options {{options}}, got {{actual}}"
          
      have_key:
        description: "have key(s) {{attributes}} with type {{type}}"
        expectations:
          has_key: "{{subject_name}} to have key named {{attribute}} with type {{type}}"

      validate_presence_of:
        description: "require {{attributes}} to be set"
        expectations:
          allow_nil: "{{subject_name}} to require {{attribute}} to be set"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
yeastymobs-remarkable_mongomapper-0.1.1 locales/en.yml