Sha256: 3738d8f83c4c4ed38db0a1fcd512a67b0a8cf30e94a6c73e5ea613e3341a1d3c

Contents?: true

Size: 667 Bytes

Versions: 6

Compression:

Stored size: 667 Bytes

Contents

ENV["RAILS_ENV"] = "test"
require 'rubygems'
require 'bundler/setup'
$:.unshift File.expand_path('../../lib/', __FILE__)

require File.expand_path("../dummy/config/environment.rb",  __FILE__)
require "rspec/rails"
require 'capybara/rails'

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

SimpleCov.start

require 'rack/test'
require 'pulse-meter-rails'

Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }

RSpec.configure do |config|
  config.include Helpers
  config.before(:each) do
    PulseToolbox.redis = Redis.new
    PulseToolbox.redis.flushdb
  end
  config.filter_run :focus => true
  config.run_all_when_everything_filtered = true
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
pulse-meter-rails-0.1.4 spec/spec_helper.rb
pulse-meter-rails-0.1.3 spec/spec_helper.rb
pulse-meter-rails-0.1.2 spec/spec_helper.rb
pulse-meter-rails-0.1.1 spec/spec_helper.rb
pulse-meter-rails-0.1.0 spec/spec_helper.rb
pulse-meter-rails-0.0.1 spec/spec_helper.rb