spec/support/shared_user_examples.rb in serverspec-0.5.8 vs spec/support/shared_user_examples.rb in serverspec-0.6.0
- old
+ new
@@ -1,12 +1,12 @@
shared_examples_for 'support group exist matcher' do |name|
describe 'group exist' do
describe group(name) do
- it { should be_group }
+ it { should exist }
end
describe group('invalid-group') do
- it { should_not be_group }
+ it { should_not exist }
end
end
end
shared_examples_for 'support group have_gid matcher' do |name, gid|