Skip to content

Commit

Permalink
minimal test case for rodjek/rspec-puppet#785 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
faxm0dem committed Feb 19, 2020
1 parent da63178 commit c1e5c63
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 314 deletions.
147 changes: 0 additions & 147 deletions spec/classes/config_spec.rb

This file was deleted.

39 changes: 0 additions & 39 deletions spec/classes/cpan_spec.rb

This file was deleted.

52 changes: 0 additions & 52 deletions spec/classes/install_spec.rb

This file was deleted.

75 changes: 0 additions & 75 deletions spec/types/cpan_spec.rb

This file was deleted.

2 changes: 1 addition & 1 deletion spec/types/cpan_spec_minimal.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
expect { described_type.new(name: 'test', force: 'nope') }.to raise_error(Puppet::Error)
end
it 'rejects other values (be_valid_type)' do
expect {be_valid_type.with_set_attributes({:force => 'nope'})}.to raise_error(Puppet::Error)
expect { be_valid_type.with_set_attributes(force: 'nope') }.to raise_error(Puppet::Error)
end
end
end

0 comments on commit c1e5c63

Please sign in to comment.