Sha256: 31849f389e65b9bd1d2f0394424079495aba602d73cd684e7afce8ceeee3bfc7

Contents?: true

Size: 463 Bytes

Versions: 20

Compression:

Stored size: 463 Bytes

Contents

# frozen_string_literal: true

require "spec_helper"

describe Rdkafka::Admin::DeleteTopicReport do
  subject { Rdkafka::Admin::DeleteTopicReport.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

20 entries across 20 versions & 2 rubygems

Version Path
rdkafka-0.13.1 spec/rdkafka/admin/delete_topic_report_spec.rb
karafka-rdkafka-0.13.8 spec/rdkafka/admin/delete_topic_report_spec.rb
karafka-rdkafka-0.13.7 spec/rdkafka/admin/delete_topic_report_spec.rb
karafka-rdkafka-0.13.6 spec/rdkafka/admin/delete_topic_report_spec.rb
karafka-rdkafka-0.13.5 spec/rdkafka/admin/delete_topic_report_spec.rb
karafka-rdkafka-0.13.4 spec/rdkafka/admin/delete_topic_report_spec.rb
rdkafka-0.13.0 spec/rdkafka/admin/delete_topic_report_spec.rb
karafka-rdkafka-0.13.3 spec/rdkafka/admin/delete_topic_report_spec.rb
karafka-rdkafka-0.13.2 spec/rdkafka/admin/delete_topic_report_spec.rb
karafka-rdkafka-0.13.1 spec/rdkafka/admin/delete_topic_report_spec.rb
rdkafka-0.13.0.beta.8 spec/rdkafka/admin/delete_topic_report_spec.rb
karafka-rdkafka-0.13.0 spec/rdkafka/admin/delete_topic_report_spec.rb
karafka-rdkafka-0.13.0.beta2 spec/rdkafka/admin/delete_topic_report_spec.rb
karafka-rdkafka-0.13.0.beta1 spec/rdkafka/admin/delete_topic_report_spec.rb
rdkafka-0.13.0.beta.7 spec/rdkafka/admin/delete_topic_report_spec.rb
rdkafka-0.13.0.beta.6 spec/rdkafka/admin/delete_topic_report_spec.rb
rdkafka-0.13.0.beta.5 spec/rdkafka/admin/delete_topic_report_spec.rb
rdkafka-0.13.0.beta.3 spec/rdkafka/admin/delete_topic_report_spec.rb
rdkafka-0.13.0.beta.2 spec/rdkafka/admin/delete_topic_report_spec.rb
rdkafka-0.13.0.beta.1 spec/rdkafka/admin/delete_topic_report_spec.rb