Sha256: f936defad21d9dfff4d650ce9410b1d5ed102a5c84979c96816bf4eecb02520c

Contents?: true

Size: 432 Bytes

Versions: 18

Compression:

Stored size: 432 Bytes

Contents

require "spec_helper"

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

18 entries across 18 versions & 2 rubygems

Version Path
rdkafka-0.12.1 spec/rdkafka/admin/create_topic_report_spec.rb
karafka-rdkafka-0.12.4 spec/rdkafka/admin/create_topic_report_spec.rb
karafka-rdkafka-0.12.3 spec/rdkafka/admin/create_topic_report_spec.rb
karafka-rdkafka-0.12.2 spec/rdkafka/admin/create_topic_report_spec.rb
karafka-rdkafka-0.12.1 spec/rdkafka/admin/create_topic_report_spec.rb
karafka-rdkafka-0.12.1.beta1 spec/rdkafka/admin/create_topic_report_spec.rb
karafka-rdkafka-0.12.0 spec/rdkafka/admin/create_topic_report_spec.rb
rdkafka-0.12.0 spec/rdkafka/admin/create_topic_report_spec.rb
rdkafka-0.12.0.beta.4 spec/rdkafka/admin/create_topic_report_spec.rb
rdkafka-0.12.0.beta.3 spec/rdkafka/admin/create_topic_report_spec.rb
rdkafka-0.12.0.beta.2 spec/rdkafka/admin/create_topic_report_spec.rb
rdkafka-0.12.0.beta.1 spec/rdkafka/admin/create_topic_report_spec.rb
rdkafka-0.12.0.beta.0 spec/rdkafka/admin/create_topic_report_spec.rb
rdkafka-0.11.1 spec/rdkafka/admin/create_topic_report_spec.rb
rdkafka-0.11.0 spec/rdkafka/admin/create_topic_report_spec.rb
rdkafka-0.10.0 spec/rdkafka/admin/create_topic_report_spec.rb
rdkafka-0.9.0 spec/rdkafka/admin/create_topic_report_spec.rb
rdkafka-0.8.1 spec/rdkafka/admin/create_topic_report_spec.rb