# These fixtures use Advanced Features, including autogenerated IDs and label
# references for associations. Some associations for this fixture may be defined
# in a fixture on the opposite side of the association.
# See http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html

DEFAULTS: &DEFAULTS
  version: 1
  user: rolf
  name: $LABEL
  description: Description of $LABEL

conic_glossary_term:
  <<: *DEFAULTS
  name: Conic # Want to support translations, so this should be a symbol
  description: Cute little cone head. # This should be a symbol
  thumb_image: conic_image # The image for the index

convex_glossary_term:
  <<: *DEFAULTS
  name: Convex
  description: Boring old Convex
  thumb_image:  # Expected to not have an image initially

plane_glossary_term:
  <<: *DEFAULTS
  version: 2
  name: Plane
  description: Three points define a plane & be sure to test unsafe html
  thumb_image: plane_image_thumb
  images: plane_image_example

square_glossary_term:
  <<: *DEFAULTS
  version: 3
  name: Square
  description: equilateral

unused_thumb_and_used_image_glossary_term:
  <<: *DEFAULTS
  thumb_image: unused_image
  images: conic_image

# These fixtures use Advanced Features, including autogenerated IDs and label
# references for associations. Some associations for this fixture may be defined
# in a fixture on the opposite side of the association.
# See http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html

DEFAULTS: &DEFAULTS
  version: 1
  user: rolf
  name: $LABEL
  description: Description of $LABEL

conic_glossary_term:
  <<: *DEFAULTS
  name: Conic # Want to support translations, so this should be a symbol
  description: Cute little cone head. # This should be a symbol
  thumb_image: conic_image # The image for the index

convex_glossary_term:
  <<: *DEFAULTS
  name: Convex
  description: Boring old Convex
  thumb_image:  # Expected to not have an image initially

plane_glossary_term:
  <<: *DEFAULTS
  version: 2
  name: Plane
  description: Three points define a plane & be sure to test unsafe html
  thumb_image: plane_image_thumb
  images: plane_image_example

square_glossary_term:
  <<: *DEFAULTS
  version: 3
  name: Square
  description: equilateral

unused_thumb_and_used_image_glossary_term:
  <<: *DEFAULTS
  thumb_image: unused_image # not used elsewhere
  images: conic_image # used elsewhere (conic_glossary_term)

Add comments to GlossaryTerms fixture file
Add comments to GlossaryTerms fixture file
