Sha256: e77941aff3e62e220a59bede5b456e178c9fea751c8a6a4eab3a497ef141fe64

Contents?: true

Size: 390 Bytes

Versions: 72

Compression:

Stored size: 390 Bytes

Contents

require "spec_helper"

describe Bunny::Channel, "#tx_commit" do
  let(:connection) do
    c = Bunny.new(:user => "bunny_gem", :password => "bunny_password", :vhost => "bunny_testbed")
    c.start
    c
  end

  after :each do
    connection.close if connection.open?
  end

  it "is supported" do
    ch = connection.create_channel
    ch.tx_select
    ch.tx_commit

    ch.close
  end
end

Version data entries

72 entries across 72 versions & 1 rubygems

Version Path
bunny-2.6.3 spec/higher_level_api/integration/tx_commit_spec.rb
bunny-2.6.2 spec/higher_level_api/integration/tx_commit_spec.rb
bunny-2.6.1 spec/higher_level_api/integration/tx_commit_spec.rb
bunny-2.6.0 spec/higher_level_api/integration/tx_commit_spec.rb
bunny-2.5.1 spec/higher_level_api/integration/tx_commit_spec.rb
bunny-2.5.0 spec/higher_level_api/integration/tx_commit_spec.rb
bunny-2.4.0 spec/higher_level_api/integration/tx_commit_spec.rb
bunny-2.3.1 spec/higher_level_api/integration/tx_commit_spec.rb
bunny-2.3.0 spec/higher_level_api/integration/tx_commit_spec.rb
bunny-2.2.2 spec/higher_level_api/integration/tx_commit_spec.rb
bunny-2.2.1 spec/higher_level_api/integration/tx_commit_spec.rb
bunny-2.2.0 spec/higher_level_api/integration/tx_commit_spec.rb
bunny-1.7.1 spec/higher_level_api/integration/tx_commit_spec.rb
bunny-2.1.0 spec/higher_level_api/integration/tx_commit_spec.rb
bunny-2.0.1 spec/higher_level_api/integration/tx_commit_spec.rb
bunny-2.0.0 spec/higher_level_api/integration/tx_commit_spec.rb
bunny-2.0.0.rc2 spec/higher_level_api/integration/tx_commit_spec.rb
bunny-2.0.0.rc1 spec/higher_level_api/integration/tx_commit_spec.rb
bunny-1.7.0 spec/higher_level_api/integration/tx_commit_spec.rb
bunny-1.6.3 spec/higher_level_api/integration/tx_commit_spec.rb