Sha256: 3a38e2ea33ef2ae8ff17bd55ecd171939698cb21f41cbc0ac4521b8be43c03d1
Contents?: true
Size: 760 Bytes
Versions: 9
Compression:
Stored size: 760 Bytes
Contents
def create_categories @food = FactoryGirl.create(:category) @cleaning = FactoryGirl.create(:category, name: "Cleaning Supplies", description: "Household cleaning products.") @antiques = FactoryGirl.create(:category, name: "Antiques", active: false, description:"No longer carried.") @toilet = FactoryGirl.create(:category, name: "Toiletries", description: "Things for the bathroom.") @toys = FactoryGirl.create(:category, name: "Toys", description: "Anything that is meant to be played with.") @furniture = FactoryGirl.create(:category, name: "Furniture", float_score: 42.12097593749, description: "Furniture.") end def delete_categories @food.delete @cleaning.delete @antiques.delete @toilet.delete @toys.delete @furniture.delete end
Version data entries
9 entries across 9 versions & 1 rubygems