diff --git a/app/views/layouts/_header.html.haml b/app/views/layouts/_header.html.haml index 07c664a35..93a03ac51 100644 --- a/app/views/layouts/_header.html.haml +++ b/app/views/layouts/_header.html.haml @@ -10,6 +10,7 @@ %ul.nav %li= link_to "Crops", crops_path %li= link_to "Seeds", seeds_path + %li= link_to "Places", places_path %li.dropdown< %a.dropdown-toggle{'data-toggle' => 'dropdown', :href => members_path} Community diff --git a/spec/views/layouts/_header_spec.rb b/spec/views/layouts/_header_spec.rb index 0c287aa8a..a89abd174 100644 --- a/spec/views/layouts/_header_spec.rb +++ b/spec/views/layouts/_header_spec.rb @@ -24,6 +24,10 @@ describe 'layouts/_header.html.haml', :type => "view" do rendered.should contain "Seeds" end + it 'has a Places link' do + rendered.should contain "Places" + end + it 'has a Community section' do rendered.should contain "Community" end