Rails Generate controller StaticPages
Added test for dynamic variables