Sha256: 2c1381b99e8089b39acd0f25051657d40a11e08fddfe5ed16f07ea8f0f4b58d9

Contents?: true

Size: 440 Bytes

Versions: 53

Compression:

Stored size: 440 Bytes

Contents

# frozen_string_literal: true

describe Rdkafka::Admin::CreateTopicReport do
  subject { Rdkafka::Admin::CreateTopicReport.new(
      FFI::MemoryPointer.from_string("error string"),
      FFI::MemoryPointer.from_string("result name")
  )}

  it "should get the error string" do
    expect(subject.error_string).to eq("error string")
  end

  it "should get the result name" do
    expect(subject.result_name).to eq("result name")
  end
end

Version data entries

53 entries across 53 versions & 2 rubygems

Version Path
karafka-rdkafka-0.14.11 spec/rdkafka/admin/create_topic_report_spec.rb
karafka-rdkafka-0.15.2 spec/rdkafka/admin/create_topic_report_spec.rb
rdkafka-0.16.1 spec/rdkafka/admin/create_topic_report_spec.rb
karafka-rdkafka-0.16.1 spec/rdkafka/admin/create_topic_report_spec.rb
karafka-rdkafka-0.16.0 spec/rdkafka/admin/create_topic_report_spec.rb
karafka-rdkafka-0.16.0.rc1 spec/rdkafka/admin/create_topic_report_spec.rb
rdkafka-0.16.0 spec/rdkafka/admin/create_topic_report_spec.rb
rdkafka-0.16.0.beta1 spec/rdkafka/admin/create_topic_report_spec.rb
karafka-rdkafka-0.15.0 spec/rdkafka/admin/create_topic_report_spec.rb
karafka-rdkafka-0.15.0.rc2 spec/rdkafka/admin/create_topic_report_spec.rb
karafka-rdkafka-0.15.0.rc1 spec/rdkafka/admin/create_topic_report_spec.rb
karafka-rdkafka-0.15.0.beta3 spec/rdkafka/admin/create_topic_report_spec.rb
karafka-rdkafka-0.15.0.beta2 spec/rdkafka/admin/create_topic_report_spec.rb
karafka-rdkafka-0.15.0.beta1 spec/rdkafka/admin/create_topic_report_spec.rb
karafka-rdkafka-0.15.0.alpha2 spec/rdkafka/admin/create_topic_report_spec.rb
karafka-rdkafka-0.15.0.alpha1 spec/rdkafka/admin/create_topic_report_spec.rb
karafka-rdkafka-0.14.10 spec/rdkafka/admin/create_topic_report_spec.rb
rdkafka-0.15.1 spec/rdkafka/admin/create_topic_report_spec.rb
karafka-rdkafka-0.14.9 spec/rdkafka/admin/create_topic_report_spec.rb
karafka-rdkafka-0.14.8 spec/rdkafka/admin/create_topic_report_spec.rb