Replace expect..should with expect..to

This commit is contained in:
Branan Purvine-Riley
2012-07-12 15:24:03 -07:00
parent 1c10f67a37
commit eef6b12f44
13 changed files with 27 additions and 55 deletions

View File

@@ -11,9 +11,7 @@ describe 'swift::ringbuilder' do
end
describe 'when swift class is not included' do
it 'should fail' do
expect do
subject
end.should raise_error(Puppet::Error)
expect { subject }.to raise_error(Puppet::Error)
end
end
describe 'when swift class is included' do