lib/inspec/describe.rb in inspec-4.3.2 vs lib/inspec/describe.rb in inspec-4.6.3

- old
+ new

@@ -1,9 +1,5 @@ -# encoding: utf-8 -# author: Dominik Richter -# author: Christoph Hartmann - module Inspec class DescribeBase def initialize(action) @action = action @checks = [] @@ -15,13 +11,13 @@ # @param [Proc] ruby block containing checks (e.g. via describe) # @return [nil] def one(&block) return unless block_given? instance_eval(&block) - @action.call('describe.one', @checks, nil) + @action.call("describe.one", @checks, nil) end def describe(*args, &block) - @checks.push(['describe', args, block]) + @checks.push(["describe", args, block]) end end end