Sha256: 795520000f5aa1fbab3cf3705d70344470987a0397d0373e678919d8bb48318a

Contents?: true

Size: 305 Bytes

Versions: 9

Compression:

Stored size: 305 Bytes

Contents

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

Mongoid::Config.from_hash 'database' => 'hit_counter'
Mongoid.logger = false

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
hit_counter-0.1.2 spec/spec_helper.rb
hit_counter-0.1.1 spec/spec_helper.rb
hit_counter-0.1.0 spec/spec_helper.rb
hit_counter-0.0.6 spec/spec_helper.rb
hit_counter-0.0.5 spec/spec_helper.rb
hit_counter-0.0.4 spec/spec_helper.rb
hit_counter-0.0.3 spec/spec_helper.rb
hit_counter-0.0.2 spec/spec_helper.rb
hit_counter-0.0.1 spec/spec_helper.rb