The Rails 3.2 version of the finished Depot application from the Agile Web Development With Rails book
Ruby CoffeeScript JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
config
db
doc
features
lib
public
script
test
vendor/assets
.travis.yml
Capfile
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru
store.ru

README.md

Build Status

Overview

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.

Toolset

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

https://www.relishapp.com/andyw8/depot/