added before(:each) to pages controller spec