Sha256: 26e711f9366c8d36093aa9b6d4e4e1829fd20d021a2df60a927a0ed57da1e506

Contents?: true

Size: 490 Bytes

Versions: 46

Compression:

Stored size: 490 Bytes

Contents

# frozen_string_literal: true

require "spec_helper"

describe Rdkafka::Admin::CreateAclReport do
  subject { Rdkafka::Admin::CreateAclReport.new(
      rdkafka_response: Rdkafka::Bindings::RD_KAFKA_RESP_ERR_NO_ERROR,
      rdkafka_response_string: FFI::MemoryPointer.from_string("")
  )}

  it "should get RD_KAFKA_RESP_ERR_NO_ERROR " do
    expect(subject.rdkafka_response).to eq(0)
  end

  it "should get empty string" do
    expect(subject.rdkafka_response_string).to eq("")
  end
end

Version data entries

46 entries across 46 versions & 2 rubygems

Version Path
karafka-rdkafka-0.19.0 spec/rdkafka/admin/create_acl_report_spec.rb
rdkafka-0.20.0 spec/rdkafka/admin/create_acl_report_spec.rb
karafka-rdkafka-0.18.1 spec/rdkafka/admin/create_acl_report_spec.rb
karafka-rdkafka-0.18.0 spec/rdkafka/admin/create_acl_report_spec.rb
karafka-rdkafka-0.18.0.rc1 spec/rdkafka/admin/create_acl_report_spec.rb
rdkafka-0.19.0 spec/rdkafka/admin/create_acl_report_spec.rb
karafka-rdkafka-0.17.6 spec/rdkafka/admin/create_acl_report_spec.rb
karafka-rdkafka-0.17.5 spec/rdkafka/admin/create_acl_report_spec.rb
karafka-rdkafka-0.17.4 spec/rdkafka/admin/create_acl_report_spec.rb
rdkafka-0.18.0 spec/rdkafka/admin/create_acl_report_spec.rb
karafka-rdkafka-0.17.3 spec/rdkafka/admin/create_acl_report_spec.rb
karafka-rdkafka-0.17.2 spec/rdkafka/admin/create_acl_report_spec.rb
karafka-rdkafka-0.17.2.rc1 spec/rdkafka/admin/create_acl_report_spec.rb
rdkafka-0.17.0 spec/rdkafka/admin/create_acl_report_spec.rb
karafka-rdkafka-0.17.1 spec/rdkafka/admin/create_acl_report_spec.rb
karafka-rdkafka-0.17.1.beta1 spec/rdkafka/admin/create_acl_report_spec.rb
karafka-rdkafka-0.17.0 spec/rdkafka/admin/create_acl_report_spec.rb
rdkafka-0.15.2 spec/rdkafka/admin/create_acl_report_spec.rb
karafka-rdkafka-0.14.11 spec/rdkafka/admin/create_acl_report_spec.rb
karafka-rdkafka-0.15.2 spec/rdkafka/admin/create_acl_report_spec.rb