gregbell/active_admin — pull request #3047 by petergoldstein (2014-04-07 03:57:20+00:00)
Title: Convert specs to RSpec 2.14.8 syntax with Transpec

This conversion is done by Transpec 1.10.4 with the following command:
transpec -f

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

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

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

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

* 6 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: Klass.any_instance.should_receive(:message)
to: expect_any_instance_of(Klass).to receive(:message)