Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A new Rails 3.0 project configured with PostgreSQL, RSpec 2, FactoryGirl, Mocha and Shoulda.
Ruby JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
autotest
config
db
doc
lib/tasks
public
script
spec
test
vendor/plugins
.gitignore
.rspec
Gemfile
README.mkd
Rakefile
config.ru

README.mkd

Overview

A blank Rails 3 project configured to the following environment:

  • PostgreSQL database connection
  • RSpec for testing
  • FactoryGirl for spec factories / fixtures
  • Mocha for mocking in specs
  • Shoulda for additional RSpec macros

Installation

  1. Clone a copy of the repository git clone git://github.com/cblunt/rails3_project_template.git
  2. Run bundle install
  3. Copy config/database.yml.sample to config/database.yml
  4. Edit config/database.yml to your environment
  5. Run rake db:create
  6. Build your app!

Prefer TestUnit?

If you'd rather user TestUnit instead of RSpec, add a remote tracking branch to test_unit:

git branch --track test_unit origin/test_unit
Something went wrong with that request. Please try again.