Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (11 sloc) 879 Bytes

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