puppetlabs/puppetlabs-vcsrepo — pull request #201 by apenney (2014-08-26 16:28:06+00:00)
Title: Convert specs to RSpec 2.99.2 syntax with Transpec

This conversion is done by Transpec 2.3.6 with the following command:
transpec -f -c "bundle exec rake spec"

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

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

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

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

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

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

* 2 conversions
from: proc { }.should
to: expect { }.to

* 1 conversion
from: be_false
to: be_falsey

* 1 conversion
from: be_true
to: be_truthy

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