Sha256: a795d43bd3ba44776526bf07723b14ea61b8e0c60c4b611843fecc69412c308f

Contents?: true

Size: 524 Bytes

Versions: 3

Compression:

Stored size: 524 Bytes

Contents

GEM_ROOT = File.expand_path(File.join(File.dirname(__FILE__),'..'))
ENV['RAILS_ENV']  ||= 'test'
require 'pwwka'
require 'pwwka/test_handler'
Dir["#{GEM_ROOT}/spec/support/**/*.rb"].sort.each {|f| require f}

RSpec.configure do |config|

  config.expect_with :rspec do |c|
    c.syntax = :expect
  end

  config.before(:all) do
    Pwwka.configure do |c|
      c.topic_exchange_name     = "topics-test"
      c.logger                  = MonoLogger.new("/dev/null")
      c.options[:allow_delayed] = true
    end
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pwwka-0.8.0 spec/spec_helper.rb
pwwka-0.8.0.RC1 spec/spec_helper.rb
pwwka-0.7.0.RC1 spec/spec_helper.rb