Sha256: be7a2abfbfcad6febff5c25b7e6f7f040ffca87c7c1145d14553ac85a159c5b1

Contents?: true

Size: 354 Bytes

Versions: 8

Compression:

Stored size: 354 Bytes

Contents

require "qsagi"
require "ostruct"

class ExampleQueue
  include Qsagi::Queue

  def self.host
    "127.0.0.1"
  end

  def self.port
    5672
  end

  def self.heartbeat
    300
  end

  def self.queue_name
    "qsagi_testing"
  end
end

RSpec.configure do |c|
  c.before(:each) do
    ExampleQueue.connect do |queue|
      queue.clear
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
qsagi-0.2.3 spec/spec_helper.rb
qsagi-0.2.2 spec/spec_helper.rb
qsagi-0.2.1 spec/spec_helper.rb
qsagi-0.2.0 spec/spec_helper.rb
qsagi-0.1.3 spec/spec_helper.rb
qsagi-0.1.2 spec/spec_helper.rb
qsagi-0.1.1 spec/spec_helper.rb
qsagi-0.1.0 spec/spec_helper.rb