Skip to content

Commit

Permalink
Remove wrong argument from spec
Browse files Browse the repository at this point in the history
The delete function does not take a `should` argument. This commit removes the wrong documentation in the spec.
  • Loading branch information
DavidS authored Oct 1, 2018
1 parent b4e2f83 commit a444d94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion object_templates/provider_spec.erb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ RSpec.describe Puppet::Provider::<%= provider_class %>::<%= provider_class %> do
end
end

describe 'delete(context, name, should)' do
describe 'delete(context, name)' do
it 'deletes the resource' do
expect(context).to receive(:notice).with(%r{\ADeleting 'foo'})

Expand Down

0 comments on commit a444d94

Please sign in to comment.