Skip to content

Commit c1e5c63

Browse files
committed
minimal test case for rodjek/rspec-puppet#785 (comment)
1 parent da63178 commit c1e5c63

File tree

5 files changed

+1
-314
lines changed

5 files changed

+1
-314
lines changed

spec/classes/config_spec.rb

-147
This file was deleted.

spec/classes/cpan_spec.rb

-39
This file was deleted.

spec/classes/install_spec.rb

-52
This file was deleted.

spec/types/cpan_spec.rb

-75
This file was deleted.

spec/types/cpan_spec_minimal.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
expect { described_type.new(name: 'test', force: 'nope') }.to raise_error(Puppet::Error)
1111
end
1212
it 'rejects other values (be_valid_type)' do
13-
expect {be_valid_type.with_set_attributes({:force => 'nope'})}.to raise_error(Puppet::Error)
13+
expect { be_valid_type.with_set_attributes(force: 'nope') }.to raise_error(Puppet::Error)
1414
end
1515
end
1616
end

0 commit comments

Comments
 (0)