Where type names contain ::, use __
This commit is contained in:
parent
df94c1b7b6
commit
f64a892689
|
@ -58,7 +58,7 @@ module RSpec::Puppet
|
|||
private
|
||||
|
||||
def referenced_type(type)
|
||||
type.split('-').map { |r| r.capitalize }.join('::')
|
||||
type.split('__').map { |r| r.capitalize }.join('::')
|
||||
end
|
||||
|
||||
def errors
|
||||
|
|
Loading…
Reference in New Issue