Remove quotes from resource refs to match puppetlabs style
This commit is contained in:
parent
c112f1f385
commit
3e2b4ce2ef
|
@ -40,15 +40,15 @@ module RSpec::Puppet
|
|||
end
|
||||
|
||||
def failure_message_for_should
|
||||
"expected that the catalogue would contain #{@referenced_type}[\"#{@title}\"]#{errors}"
|
||||
"expected that the catalogue would contain #{@referenced_type}[#{@title}]#{errors}"
|
||||
end
|
||||
|
||||
def failure_message_for_should_not
|
||||
"expected that the catalogue would not contain #{@referenced_type}[\"#{@title}\"]#{errors}"
|
||||
"expected that the catalogue would not contain #{@referenced_type}[#{@title}]#{errors}"
|
||||
end
|
||||
|
||||
def description
|
||||
"create #{@referenced_type}[\"#{@title}\"]"
|
||||
"create #{@referenced_type}[#{@title}]"
|
||||
end
|
||||
|
||||
private
|
||||
|
|
|
@ -8,11 +8,11 @@ module RSpec::Puppet
|
|||
end
|
||||
|
||||
description do
|
||||
"include Class['#{expected_class}']"
|
||||
"include Class[#{expected_class}]"
|
||||
end
|
||||
|
||||
failure_message_for_should do |actual|
|
||||
"expected that the catalogue would include Class['#{expected_class}']"
|
||||
"expected that the catalogue would include Class[#{expected_class}]"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue