mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-05-18 05:29:31 -04:00
Test for footer.
This commit is contained in:
16
spec/views/layouts/_footer_spec.rb
Normal file
16
spec/views/layouts/_footer_spec.rb
Normal file
@@ -0,0 +1,16 @@
|
||||
require 'spec_helper'
|
||||
|
||||
describe 'layouts/_footer.html.haml', :type => "view" do
|
||||
|
||||
before(:each) do
|
||||
render
|
||||
end
|
||||
|
||||
it 'should have links in footer' do
|
||||
rendered.should contain 'About'
|
||||
rendered.should contain 'License'
|
||||
rendered.should contain 'Github'
|
||||
rendered.should contain 'Mailing list'
|
||||
rendered.should contain 'Community Guidelines'
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user