Sha256: 10b67c2762f0cd8ad0e20ca285ed658386136cad617b75afb475229475321325

Contents?: true

Size: 756 Bytes

Versions: 1

Compression:

Stored size: 756 Bytes

Contents

ENV['RACK_ENV'] ||= 'test'

# Basic path registers
root   = File.expand_path('../', File.dirname(__FILE__))
lib    = File.expand_path('lib', root)
$:.unshift(root, lib)

require 'fozzie'

module Fozzie
  class Adapter::TestAdapter
    def register(*params); end
    def delimeter; ""; end
    def safe_separator; ""; end
  end
end

Fozzie.configure do |config|
  config.host     = '127.0.0.1'
  config.port     = 8809
  config.adapter  = "TestAdapter"
end

RSpec.configure do |config|
  config.order = :random
  config.expect_with(:rspec) { |c| c.syntax = :should }
  config.mock_with(:rspec) { |c| c.syntax = :should }
  config.raise_errors_for_deprecations!
end

# Shared Examples
Dir[File.expand_path('spec/shared_examples/*.rb')].each {|r| require r }

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fozzie-1.1.0 spec/spec_helper.rb