summaryrefslogtreecommitdiffstats
path: root/spec/integration/parser/parser_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/integration/parser/parser_spec.rb')
-rwxr-xr-xspec/integration/parser/parser_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/integration/parser/parser_spec.rb b/spec/integration/parser/parser_spec.rb
index ee476c02f..ff81758d1 100755
--- a/spec/integration/parser/parser_spec.rb
+++ b/spec/integration/parser/parser_spec.rb
@@ -17,7 +17,7 @@ describe Puppet::Parser::Parser do
def matches?(string)
@string = string
@result = @parser.parse(string)
- return result_instance.instance_of?(@class)
+ result_instance.instance_of?(@class)
end
def description
@@ -50,7 +50,7 @@ describe Puppet::Parser::Parser do
def matches?(string)
@string = string
@result = @parser.parse(string)
- return @block.call(result_instance)
+ @block.call(result_instance)
end
def description