From 8d579a4616b56f32073bb89aa668045f2a0e0ea7 Mon Sep 17 00:00:00 2001 From: Brenda Wallace Date: Tue, 26 Mar 2019 22:27:10 +1300 Subject: [PATCH] Gardens have descriptions --- spec/models/garden_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/models/garden_spec.rb b/spec/models/garden_spec.rb index 7d1f83d0b..f4aa7d51f 100644 --- a/spec/models/garden_spec.rb +++ b/spec/models/garden_spec.rb @@ -9,8 +9,8 @@ describe Garden do garden.slug.should match(/hatupatu-springfield-community-garden/) end - it "has a name" do - garden.name.should == "This is a **totally** cool garden" + it "has a description" do + garden.description.should == "This is a **totally** cool garden" end it "doesn't allow a nil name" do