mise à jour de RSpec
Convert specs to RSpec 2.99.2 syntax with Transpec

This conversion is done by Transpec 2.3.7 with the following command:
    transpec

* 160 conversions
    from: obj.should
      to: expect(obj).to

* 102 conversions
    from: == expected
      to: eq(expected)

* 41 conversions
    from: obj.should_receive(:message)
      to: expect(obj).to receive(:message)

* 39 conversions
    from: obj.stub(:message)
      to: allow(obj).to receive(:message)

* 14 conversions
    from: obj.should_not
      to: expect(obj).not_to

* 6 conversions
    from: describe 'some controller' { }
      to: describe 'some controller', :type => :controller { }

* 6 conversions
    from: describe 'some feature' { }
      to: describe 'some feature', :type => :feature { }

* 5 conversions
    from: describe 'some model' { }
      to: describe 'some model', :type => :model { }

* 2 conversions
    from: describe 'some view' { }
      to: describe 'some view', :type => :view { }

* 1 conversion
    from: > expected
      to: be > expected

* 1 conversion
    from: Klass.any_instance.should_receive(:message)
      to: expect_any_instance_of(Klass).to receive(:message)

* 1 conversion
    from: Klass.any_instance.stub(:message)
      to: allow_any_instance_of(Klass).to receive(:message)

* 1 conversion
    from: describe 'some helper' { }
      to: describe 'some helper', :type => :helper { }

* 1 conversion
    from: pending
      to: skip

For more details: https://github.com/yujinakayama/transpec#supported-conversions
avant d installer rspec rail ~>3.0.0
passage à Rails 3 et début des modifications des spec
passage à rspec 3 et reecriture de spec pour cette adaptation