During my Test-Driven Rails workshop earlier this week (which is also available as an online workshop), my students and I were writing acceptance tests surrounding marking todo items as complete. The spec looked like this: feature 'Manage todos' do scenario 'view only todos the user has created' do sign_in_as 'other@example.com' create_todo_titled 'Lay eggs' sign_in_as 'me@example.com' user_should
![Better Acceptance Tests with Page Objects](https://cdn-ak-scissors.b.st-hatena.com/image/square/beac31a4be8e4962e2fefc94fd70b667eb3e9cec/height=288;version=1;width=512/https%3A%2F%2Fimages.thoughtbot.com%2Fblog-images%2Fsocial-share-default.png)