Convert specs to RSpec 2.14.7 syntax with Transpec
Convert specs to RSpec 2.14.7 syntax with Transpec

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

* 33 conversions
    from: its(:attr) { }
      to: describe '#attr' do subject { super().attr }; it { } end

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

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

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

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

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

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

For more details: https://github.com/yujinakayama/transpec#supported-conversions

glanotte/guard-migrate