```ruby
require 'spec_helper'

describe "plantings/show" do
  before(:each) do
    controller.stub(:current_user) { nil }
    @member = FactoryGirl.create(:member)
    @garden = FactoryGirl.create(:garden, :owner => @member)
    @crop = FactoryGirl.create(:tomato)
    @planting = assign(:planting,
      FactoryGirl.create(:planting, :garden => @garden, :crop => @crop)
    )
    render
  end

  it "renders the quantity planted" do
    rendered.should match(/3/)
  end

  it "renders the description" do
    rendered.should match(/This is a/)
  end

  it "renders markdown in the description" do
    assert_select "em", "really"
  end
end
```

Test display of location on plantings/show.
user
```ruby
require 'spec_helper'

describe "plantings/show" do
  def create_planting_for(member)
    @garden = FactoryGirl.create(:garden, :owner => @member)
    @crop = FactoryGirl.create(:tomato)
    @planting = assign(:planting,
      FactoryGirl.create(:planting, :garden => @garden, :crop => @crop)
    )
  end

  context "no location set" do
    before(:each) do
      controller.stub(:current_user) { nil }
      @member = FactoryGirl.create(:member)
      create_planting_for(@member)
      render
    end

    it "renders the quantity planted" do
      rendered.should match(/3/)
    end

    it "renders the description" do
      rendered.should match(/This is a/)
    end

    it "renders markdown in the description" do
      assert_select "em", "really"
    end

    it "doesn't contain a () if no location is set" do
      rendered.should_not contain "()"
    end
  end

  context "location set" do
    before(:each) do
      controller.stub(:current_user) { nil }
      @member = FactoryGirl.create(:geolocated_member)
      create_planting_for(@member)
      render
    end

    it "shows the member's location in parentheses" do
      rendered.should contain "(#{@member.location})"
    end
  end
end
```
assistant