Whittle down StaticPages request specs code by using 'shared_examples_for'
.