amended static_pages tests to use RSpec let function