Pocket Gems interview question

Writing the test by given a scenario?