thoughtbot/capybara-webkit — pull request #639 by loganhasson (2014-05-16 01:11:36+00:00)
Title: Convert specs to RSpec 2.14.4 syntax

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

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

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

* 15 conversions
from: =~ /pattern/
to: match(/pattern/)

* 11 conversions
from: lambda { }.should
to: expect { }.to

* 9 conversions
from: lambda { }.should_not
to: expect { }.not_to

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

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

* 3 conversions
from: === expected
to: be === expected

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

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

* 3 conversions
from: obj.unstub(:message)
to: allow(obj).to receive(:message).and_call_original

* 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: its(:attr) { }
to: describe '#attr' do subject { super().attr }; it { } end