Sha256: aeac7283b5c9ab5624b26569e411aa9888d12fc24e0cf71ac3e44a9066a27973

Contents?: true

Size: 730 Bytes

Versions: 1

Compression:

Stored size: 730 Bytes

Contents

require 'rubygems'
require 'bundler/setup'
$:.unshift File.expand_path('../../lib/', __FILE__)

ROOT = File.expand_path('../..', __FILE__)

Bundler.require(:default, :test, :development)

SimpleCov.formatter = SimpleCov::Formatter::HTMLFormatter

SimpleCov.start

require 'pulse-meter'
require 'pulse-meter/visualizer'
require 'test_helpers/matchers'
require 'rack/test'



Dir['spec/support/**/*.rb'].each{|f| require File.join(ROOT, f) }
Dir['spec/shared_examples/**/*.rb'].each{|f| require File.join(ROOT,f)}

RSpec.configure do |config|
  config.before(:each) { PulseMeter.redis = MockRedis.new }
  config.filter_run :focus => true
  config.run_all_when_everything_filtered = true
  config.include(TestHelpers::Matchers)
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pulse-meter-0.0.1 spec/spec_helper.rb