README.md in rspec_candy-0.3.1 vs README.md in rspec_candy-0.4.0

- old
+ new

@@ -1,13 +1,17 @@ rspec_candy [![Build Status](https://secure.travis-ci.org/makandra/rspec_candy.png?branch=master)](https://travis-ci.org/makandra/rspec_candy) ========================================== A collection of nifty helpers and matchers for your RSpec suite. -Will work for RSpec1 and Rails 2, or RSpec2 and Rails 3, or no Rails at all. +Tested on: +- RSpec 1 / Rails 2.3 +- RSpec 2 / Rails 3.2 +- RSpec 3 / Rails 4.2 + ##Installation Add `rspec_candy` to your Gemfile. Now, in your `spec_helper.rb`, add this after your RSpec requires: @@ -136,22 +140,10 @@ describe Model, '#after_save' do it_should_run_callbacks :notify_this, :notify_that end - If you use the state_machine gem, you can also spec callbacks for state_machine transitions: - - describe Model, '#my_event from :my_state1 to :my_state" do - it_should_run_callbacks :notify_this, :notify_that - end - - - If you have used a custom state machine name, you can use specify it like this: - - describe Model, '#my_event on :my_machine from :my_state1 to :my_state" do - it_should_run_callbacks :notify_this, :notify_that - end **it_should_run_callbacks_in_order** Like `it_should_run_callbacks`, but also checks the correct order.