Adjusted static_pages_spec.rb to use RSpec's 'let' command, to follow DRY principle.