diff options
author | Igor Galić <i.galic@brainsware.org> | 2014-09-29 19:19:21 +0200 |
---|---|---|
committer | Igor Galić <i.galic@brainsware.org> | 2014-09-29 19:19:21 +0200 |
commit | 1df5570580c1d429a8fed25033a19333fcaffbda (patch) | |
tree | 32b1c5aba427f3162d20e94efd8922ff884296d4 /lib/puppet/provider/vcsrepo/dummy.rb | |
parent | 38c9c20c5abb5a19917ee3af9e0b6f1f1e8a0b49 (diff) | |
download | puppet-vcsrepo-1df5570580c1d429a8fed25033a19333fcaffbda.tar.gz puppet-vcsrepo-1df5570580c1d429a8fed25033a19333fcaffbda.tar.bz2 |
Convert specs to RSpec 2.99.2 syntax with Transpec
This conversion is done by Transpec 2.3.7 with the following command:
transpec
* 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
Diffstat (limited to 'lib/puppet/provider/vcsrepo/dummy.rb')
0 files changed, 0 insertions, 0 deletions