Sha256: 0d420e29e4e182d364981baaf720e051bb0033cbe3fbbd3f12f7550d0a8fe749
Contents?: true
Size: 416 Bytes
Versions: 2
Compression:
Stored size: 416 Bytes
Contents
require 'rspec' require 'rack' require 'rack/test' require 'appdash' require 'appdash/middleware' helpers = Module.new do def atoh(annotations) annotations.inject({}) {|h, a| h[a.key] = a.value; h } end def mock_span_id id = Appdash::Span::ID.new id.instance_variable_set(:@span, 1234) id.instance_variable_set(:@trace, 5678) id end end RSpec.configure do |c| c.include helpers end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
appdash-0.6.3 | spec/spec_helper.rb |
appdash-0.6.2 | spec/spec_helper.rb |