Remove quotes from resource refs to match puppetlabs style

This commit is contained in:
Tim Sharpe 2011-08-07 00:45:24 -07:00
parent c112f1f385
commit 3e2b4ce2ef
2 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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