diff --git a/spec/factories/garden.rb b/spec/factories/garden.rb index 2feba4306..af94e173d 100644 --- a/spec/factories/garden.rb +++ b/spec/factories/garden.rb @@ -1,6 +1,6 @@ FactoryGirl.define do factory :garden do - name 'My Garden' + name 'Springfield Community Garden' owner end end diff --git a/spec/models/garden_spec.rb b/spec/models/garden_spec.rb index e3a436cde..112eaace6 100644 --- a/spec/models/garden_spec.rb +++ b/spec/models/garden_spec.rb @@ -7,7 +7,7 @@ describe Garden do end it "should have a slug" do - @garden.garden_slug.should == "member1-my-garden" + @garden.garden_slug.should == "member1-springfield-community-garden" end it "should have an owner" do diff --git a/spec/models/planting_spec.rb b/spec/models/planting_spec.rb index 1414b7a0c..a874d1c5c 100644 --- a/spec/models/planting_spec.rb +++ b/spec/models/planting_spec.rb @@ -16,7 +16,7 @@ describe Planting do end it "generates a location" do - @planting.location.should match /^member1's My Garden$/ + @planting.location.should match /^member1's Springfield Community Garden$/ end end diff --git a/spec/views/gardens/index.html.haml_spec.rb b/spec/views/gardens/index.html.haml_spec.rb index 6ae024a95..c2b994d14 100644 --- a/spec/views/gardens/index.html.haml_spec.rb +++ b/spec/views/gardens/index.html.haml_spec.rb @@ -12,7 +12,7 @@ describe "gardens/index" do it "renders a list of gardens" do render # Run the generator again with the --webrat flag if you want to use webrat matchers - assert_select "tr>td", :text => "My Garden".to_s, :count => 2 + assert_select "tr>td", :text => "Springfield Community Garden".to_s, :count => 2 end end diff --git a/spec/views/plantings/index.html.haml_spec.rb b/spec/views/plantings/index.html.haml_spec.rb index 901ae4508..cfb6508f0 100644 --- a/spec/views/plantings/index.html.haml_spec.rb +++ b/spec/views/plantings/index.html.haml_spec.rb @@ -24,7 +24,7 @@ describe "plantings/index" do it "renders a list of plantings" do rendered.should contain 'Tomato' rendered.should contain 'Maize' - rendered.should contain "member1's My Garden" + rendered.should contain "member1's Springfield Community Garden" end it "shows descriptions where they exist" do