Sha256: 5e164851554024cba27e0cff8e1f4abd9739fabab8a7d30dcbd2c6100dd6c347

Contents?: true

Size: 394 Bytes

Versions: 1

Compression:

Stored size: 394 Bytes

Contents

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))

require 'simplecov'
SimpleCov.start

require 'addressable/uri'
require 'mongoid'
require 'RMagick'
require 'rspec'

require 'hit_counter'

Mongoid.load! 'config/mongoid.yml', :test
Mongoid.logger = false

# Stub Rails root during tests.
module Rails
  def self.root
    '.'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hit_counter-0.1.3 spec/spec_helper.rb