Sha256: a244b416b5d893dafe92363159fd4e9d0e49ea3b566a7d64155dd66a6cb99c1b

Contents?: true

Size: 387 Bytes

Versions: 2

Compression:

Stored size: 387 Bytes

Contents

module JsSpec
  module Resources
    class SuiteFinish
      attr_reader :suite
      def initialize(suite)
        @suite = suite
      end

      def post(request, response)
        guid = request['guid']
        if guid
          Runners::FirefoxRunner.resume(guid, request['text'])
        else
          STDOUT.puts request['text']
        end
        ""
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
js_spec-0.2.0 lib/js_spec/resources/suite_finish.rb
js_spec-0.2.1 lib/js_spec/resources/suite_finish.rb