Sha256: 62c52a389689256d7667f2a4eb7b73b8644c2c1ee531a32c370335c39503398e

Contents?: true

Size: 354 Bytes

Versions: 21

Compression:

Stored size: 354 Bytes

Contents

module MiniTest
  module Chef
    module Context
      attr_reader :run_status, :node, :run_context

      def run(runner)
        if runner.respond_to?(:run_status)
          @run_status = runner.run_status
          @node = @run_status.node
          @run_context = @run_status.run_context
        end
        super(runner)
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
minitest-chef-handler-1.1.0 lib/minitest-chef-handler/context.rb
minitest-chef-handler-1.0.3 lib/minitest-chef-handler/context.rb
minitest-chef-handler-1.0.2 lib/minitest-chef-handler/context.rb
minitest-chef-handler-1.0.1 lib/minitest-chef-handler/context.rb
minitest-chef-handler-1.0.0 lib/minitest-chef-handler/context.rb
minitest-chef-handler-0.6.9 lib/minitest-chef-handler/context.rb
minitest-chef-handler-0.6.8 lib/minitest-chef-handler/context.rb
minitest-chef-handler-0.6.7 lib/minitest-chef-handler/context.rb
minitest-chef-handler-0.6.6 lib/minitest-chef-handler/context.rb
minitest-chef-handler-0.6.5 lib/minitest-chef-handler/context.rb
minitest-chef-handler-0.6.4 lib/minitest-chef-handler/context.rb
minitest-chef-handler-0.6.3 lib/minitest-chef-handler/context.rb
minitest-chef-handler-0.6.2 lib/minitest-chef-handler/context.rb
minitest-chef-handler-0.6.1 lib/minitest-chef-handler/context.rb
minitest-chef-handler-0.6.0 lib/minitest-chef-handler/context.rb
minitest-chef-handler-0.5.4 lib/minitest-chef-handler/context.rb
minitest-chef-handler-0.5.3 lib/minitest-chef-handler/context.rb
minitest-chef-handler-0.5.2 lib/minitest-chef-handler/context.rb
minitest-chef-handler-0.5.1 lib/minitest-chef-handler/context.rb
minitest-chef-handler-0.5.0 lib/minitest-chef-handler/context.rb