The Rails 3.2 version of the finished Depot application from the Agile Web Development With Rails book
Ruby CoffeeScript JavaScript
Switch branches/tags
Nothing to show
Latest commit d8e6b41 Apr 22, 2012 @andyw8 andyw8 Null commit

Build Status


This project is an example of applying the page object pattern with Cucumber. It is intended as demonstration of the capybara-page-object gem which I am developing.

It is based on the Depot application from the book Agile Web Development With Rails.

Although the Depot application isn't particularly complex, the principles demonstrated can be applied to a larger project.


There are many options to choose from when using Cucumber, but I think the ones I've chosen are fairly typical:

  • RSpec
  • factory_girl

Living Documentation