charliesome/better_errors — pull request #249 by loganhasson (2014-05-15 21:15:32+00:00)
Title: Convert specs to RSpec 2.14.8 syntax with Transpec

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

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

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

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

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

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

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

* 1 conversion
from: =~ /pattern/
to: match(/pattern/)

* 1 conversion
from: obj.should_not_receive(:message)
to: expect(obj).not_to receive(:message)