Convert specs to RSpec 2.99.2 syntax with Transpec

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

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

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

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

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

* 14 conversions
    from: Klass.any_instance.should_receive(:message)
      to: expect_any_instance_of(Klass).to receive(:message)

* 7 conversions
    from: it { should ... }
      to: it { is_expected.to ... }

* 5 conversions
    from: obj.should_not_receive(:message)
      to: expect(obj).not_to receive(:message)

* 4 conversions
    from: Klass.any_instance.stub(:message)
      to: allow_any_instance_of(Klass).to receive(:message)

* 4 conversions
    from: obj.should_receive(:message).and_return { value }
      to: obj.should_receive(:message) { value }

* 3 conversions
    from: it { should_not ... }
      to: it { is_expected.not_to ... }

* 2 conversions
    from: Klass.any_instance.should_not_receive(:message)
      to: expect_any_instance_of(Klass).not_to receive(:message)

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

* 2 conversions
    from: obj.stub(:message).and_return { value }
      to: obj.stub(:message) { value }

* 1 conversion
    from: obj.unstub(:message)
      to: allow(obj).to receive(:message).and_call_original

For more details: https://github.com/yujinakayama/transpec#supported-conversions
Use io-grab to grab output
Deprecation warning--
Switch to RSpec 3
Convert specs to RSpec 3.1.1 syntax with Transpec

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

* 3 conversions
    from: obj.stub(:message => value)
      to: allow(obj).to receive_messages(:message => value)

For more details: https://github.com/yujinakayama/transpec#supported-conversions
.stub -> allow()
Get rid of a deprecation warning in the output matcher
Merge pull request #76 from conjurinc/rspec3

Migrate to RSpec 3