From b6675fa8cb167c35b9001de2973ae39010d8b5ce Mon Sep 17 00:00:00 2001 From: Skud Date: Mon, 12 Nov 2012 17:44:17 +1100 Subject: [PATCH] Added a link to "Members" on the homepage. The members' index page was another story (#39029449) but it ended up getting done as a side effect of the RSS story. --- app/views/home/index.html.haml | 1 + spec/views/home/index_spec.rb | 4 ++++ 2 files changed, 5 insertions(+) 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