Test for footer.

This commit is contained in:
Miles Gould
2012-09-10 23:06:23 +01:00
parent 7111c9e2bc
commit f076438ef9

View 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