README.md in rake-n-bake-1.1.4 vs README.md in rake-n-bake-1.1.5

- old
+ new

@@ -26,22 +26,27 @@ Usage ----- 1. Add `require "rake-n-bake"` to your Rakefile 2. Call the tasks that you want, just as with your usual Rake tasks (examples below!). - For example: - ```ruby - task :default => [ - :clean, - :"bake:code_quality:all", - :"bake:rspec", - :"bake:coverage:check_specs", - :"bake:bundler_audit", - :"bake:ok_rainbow", - ] - ``` + For example: + +```ruby +require "rake-n-bake" + +task :default => [ + :clean, + :"bake:code_quality:all", + :"bake:rspec", + :"bake:coverage:check_specs", + :"bake:bundler_audit", + :"bake:ok_rainbow", +] + +``` + Tasks ----- Tasks are namespaced under `:bake` to prevent clashes. For example, the `:ok` task is called by invoking `:bake:ok` ### :bundler_audit @@ -84,9 +89,22 @@ ### :ok_rainbow Run this task last to print a more magical version of `:ok` ### :rails_best_practices Run this task to run the [Rails Best Practices](https://github.com/railsbp/rails_best_practices) metrics against your Rails project. + +### :rspec +Run all the tests in the spec directory with rspec +#### :rspec:unit +Run all the specs not in a features or integration directory +#### :rspec:integration +Run all the specs in the integration directory +#### :rspec:requests +Run all the specs in the requests directory +#### :rspec:features +Run all the specs in the features directory +#### :rspec:tag[mytag] +Run all the specs tagged using `mytag: true` Handy Tips for new tasks ------------------------ - All tasks loaded by `lib/rake_n_bake.rb` will have access to the `RakeNBake::AssistantBaker`. This is intended for truely common things, like logging out when a particular step runs or passes.