Permalink
Browse files

Remove quotes from resource refs to match puppetlabs style

  • Loading branch information...
rodjek committed Aug 7, 2011
1 parent c112f1f commit 3e2b4ce2ef04690a51221bbd222efb885d4bf994
Showing with 5 additions and 5 deletions.
  1. +3 −3 lib/rspec-puppet/matchers/create_generic.rb
  2. +2 −2 lib/rspec-puppet/matchers/include_class.rb
@@ -40,15 +40,15 @@ def matches?(catalogue)
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 Matchers
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

0 comments on commit 3e2b4ce

Please sign in to comment.