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-0.10.8 spec/higher_level_api/integration/tx_commit_spec.rb
bunny-1.0.0.rc1 spec/higher_level_api/integration/tx_commit_spec.rb
bunny-0.10.7 spec/higher_level_api/integration/tx_commit_spec.rb
bunny-0.10.6 spec/higher_level_api/integration/tx_commit_spec.rb
bunny-1.0.0.pre6 spec/higher_level_api/integration/tx_commit_spec.rb
bunny-0.10.5 spec/higher_level_api/integration/tx_commit_spec.rb
bunny-1.0.0.pre5 spec/higher_level_api/integration/tx_commit_spec.rb
bunny-0.10.4 spec/higher_level_api/integration/tx_commit_spec.rb
bunny-0.10.3 spec/higher_level_api/integration/tx_commit_spec.rb
bunny-1.0.0.pre4 spec/higher_level_api/integration/tx_commit_spec.rb
bunny-0.10.2 spec/higher_level_api/integration/tx_commit_spec.rb
bunny-0.10.1 spec/higher_level_api/integration/tx_commit_spec.rb