From 495f4194e7adc2840e8e6535c418b330cbb95abf Mon Sep 17 00:00:00 2001 From: Skud Date: Thu, 4 Sep 2014 19:02:38 +1000 Subject: [PATCH] Fixed test for branding in navbar --- spec/views/layouts/_header_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/views/layouts/_header_spec.rb b/spec/views/layouts/_header_spec.rb index 8aa6c7d0f..2274b25b5 100644 --- a/spec/views/layouts/_header_spec.rb +++ b/spec/views/layouts/_header_spec.rb @@ -7,8 +7,8 @@ describe 'layouts/_header.html.haml', :type => "view" do render end - it 'shows the title' do - rendered.should contain ENV['GROWSTUFF_SITE_NAME'] + it 'shows the brand logo in the navbar' do + assert_select("img[src='/assets/growstuff-brand.png']", :href => root_path) end it 'should have signup/signin links' do