diff --git a/app/views/home/index.html.haml b/app/views/home/index.html.haml index ba1817d13..ec281da36 100644 --- a/app/views/home/index.html.haml +++ b/app/views/home/index.html.haml @@ -3,4 +3,5 @@ %ul %li= link_to "Crops", crops_path + %li= link_to "Members", members_path %li= link_to "Recent updates", updates_path diff --git a/spec/views/home/index_spec.rb b/spec/views/home/index_spec.rb index 1d748010f..6ae3c41d1 100644 --- a/spec/views/home/index_spec.rb +++ b/spec/views/home/index_spec.rb @@ -9,6 +9,10 @@ describe 'home/index.html.haml', :type => "view" do rendered.should contain 'Crops' end + it 'links to the members page' do + rendered.should contain 'Members' + end + it 'links to the updates page' do rendered.should contain 'Recent updates' end