README.md in suspenders-0.0.2 vs README.md in suspenders-0.0.3
- old
+ new
@@ -20,11 +20,11 @@
whether it's a change that should be made across all projects. If so, then
make the change in suspenders instead of your project. Note: If you don't
have commit access to suspenders, create a github ticket and we'll review your
suggestion.
-Once that's committed, you can pull into your project to get all the changes
+Once that's committed, you can pull into your project to get all the changes
that have been made in suspenders since your last pull:
git pull suspenders master
About Suspenders
@@ -61,10 +61,11 @@
Clearance (0.7.0 engine)
For testing:
+ rspec
jferris-mocha (standard mocha plus test spies)
factory_girl (fixture replacement for test data)
shoulda (rails test helpers and context framework)
timecop (for time sensitive tests)
fakeweb (for blocking HTTP calls to third-party services)
@@ -82,50 +83,45 @@
action_mailer_configs.rb
We use SMTP by default in all applications.
hoptoad.rb
Get your API key at http://hoptoadapp.com
-
+
requires.rb
Automatically requires everything in
lib/
lib/extensions
test/mocks/RAILS_ENV (Removed in Rails 2, we decided to keep it)
Add other things you need to require in here.
time_formats.rb
Two time formats are available by default, :short_date and :long_date.
Add other time formats here.
-
+
Rake Tasks
----------
Rake tasks are contained in the limerick_rake gem.
bootstrap
Provides rake tasks for loading data into the database. These are used for
an initial application dataset needed for production.
-
+
capistrano
Standard capistrano deployment tasks
-
+
Testing
-------
-Testing is done utilizing Test::Unit, Shoulda, factory_girl, and mocha.
+Testing is done utilizing RSpec, Shoulda, factory_girl, and mocha.
factory_girl is a fixture replacement library, following the factory pattern.
Place your factories in test/factories.rb. The fixture directory has been
removed, as fixtures are not used.
-Shoulda is a pragmatic testing framework for TDD and BDD built on top of
-Test::Unit. A number of additional testing macros are provided in
-test/shoulda_macros:
+Shoulda matchers are used on top of RSpec.
- shoulda_have_form
- shoulda_paginate_collection
-
Timecop is used to freeze the time for the entire test suite. It is frozen to
the value of Time.now; that is, the time that the tests suite starts running.
Deployment
----------
@@ -150,10 +146,10 @@
(You'll be prompted for the environment's database password)
Deploy to the desired environment by running:
cap ENVIRONMENT deploy
-
+
The default environment for deploy is staging, to deploy to staging, just run:
cap deploy
Mascot