change_static_pages_spec to use rspec let command