Sha256: 273bdf9e24099be8d38568ee0b958518bba6de9982604c1d39d90c178b1bfe7e
Contents?: true
Size: 789 Bytes
Versions: 3
Compression:
Stored size: 789 Bytes
Contents
if ENV['COVERALLS_REPO_TOKEN'] require 'coveralls' Coveralls.wear! else require 'simplecov' SimpleCov.start end ENV['RACK_ENV'] ||= 'test' require 'ember_cli_deploy_redis' require 'fakeredis/rspec' require 'shoulda/matchers' Dir["./spec/support/**/*.rb"].sort.each { |f| require f } RSpec.configure do |config| config.before(:each) do # This must be cleared before each example to keep an exception from occurring in our tests. # EmberCliDeployRedis.configuration.instance_variable_set('@default_app_name', nil) EmberCliDeployRedis.instance_variable_set('@configuration', nil) EmberCliDeployRedis.configure do |config| # It's not real; we're using FakeRedis, which will clean itself up for each example. config.redis = Redis.new end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ember_cli_deploy_redis-1.0.2 | spec/spec_helper.rb |
ember_cli_deploy_redis-1.0.1 | spec/spec_helper.rb |
ember_cli_deploy_redis-1.0.0 | spec/spec_helper.rb |