Sha256: 5dd44e5a9bd9245332331edbd1025de4a32b0df787d49b0bd53e8e4154dcfa29
Contents?: true
Size: 342 Bytes
Versions: 4
Compression:
Stored size: 342 Bytes
Contents
require 'spec_helper' RSpec.describe Appdash::Event::SpanName do subject { described_class.new "Query" } it "should init" do expect(subject.schema).to eq("name") expect(subject.attrs).to eq(name: "Query") end it "should annotate" do expect(atoh(subject.to_a)).to eq("Name" => "Query", "_schema:name" => "") end end
Version data entries
4 entries across 4 versions & 1 rubygems