Refactored the StaticPages controller spec using the let function