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.19.0 spec/rdkafka/admin/create_topic_report_spec.rb
rdkafka-0.20.0 spec/rdkafka/admin/create_topic_report_spec.rb
karafka-rdkafka-0.18.1 spec/rdkafka/admin/create_topic_report_spec.rb
karafka-rdkafka-0.18.0 spec/rdkafka/admin/create_topic_report_spec.rb
karafka-rdkafka-0.18.0.rc1 spec/rdkafka/admin/create_topic_report_spec.rb
rdkafka-0.19.0 spec/rdkafka/admin/create_topic_report_spec.rb
karafka-rdkafka-0.17.6 spec/rdkafka/admin/create_topic_report_spec.rb
karafka-rdkafka-0.17.5 spec/rdkafka/admin/create_topic_report_spec.rb
karafka-rdkafka-0.17.4 spec/rdkafka/admin/create_topic_report_spec.rb
rdkafka-0.18.0 spec/rdkafka/admin/create_topic_report_spec.rb
karafka-rdkafka-0.17.3 spec/rdkafka/admin/create_topic_report_spec.rb
karafka-rdkafka-0.17.2 spec/rdkafka/admin/create_topic_report_spec.rb
karafka-rdkafka-0.17.2.rc1 spec/rdkafka/admin/create_topic_report_spec.rb
rdkafka-0.17.0 spec/rdkafka/admin/create_topic_report_spec.rb
karafka-rdkafka-0.17.1 spec/rdkafka/admin/create_topic_report_spec.rb
karafka-rdkafka-0.17.1.beta1 spec/rdkafka/admin/create_topic_report_spec.rb
karafka-rdkafka-0.17.0 spec/rdkafka/admin/create_topic_report_spec.rb
rdkafka-0.14.1 spec/rdkafka/admin/create_topic_report_spec.rb
rdkafka-0.15.2 spec/rdkafka/admin/create_topic_report_spec.rb
karafka-rdkafka-0.13.10 spec/rdkafka/admin/create_topic_report_spec.rb