Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
The Rails 3.2 version of the finished Depot application from the Agile Web Development With Rails book
Ruby CoffeeScript
branch: master
Failed to load latest commit information.
app Initial import
config Spork
db Initial import
doc Initial import
features Use latest version of capybara-page-object
lib Installing cucumber-rails
public Initial import
script Installing cucumber-rails
test Initial import
vendor/assets Removing unintentionally committed gems
.travis.yml Experiment: ENV variables available
Capfile Initial import
Gemfile Use latest version of capybara-page-object
Gemfile.lock Null commit
Rakefile Initial import Initial import Initial import

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

Something went wrong with that request. Please try again.