Sha256: f6e7954468585d62a2387b364beb97a5071f167690e81a72a3e58ecd2601f0fa
Contents?: true
Size: 806 Bytes
Versions: 2
Compression:
Stored size: 806 Bytes
Contents
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $LOAD_PATH.unshift(File.dirname(__FILE__)) require 'rspec' require 'fakeredis' require "fakeredis/rspec" require "support/shared_examples/sortable" require "support/shared_examples/bitwise_operation" RSpec.configure do |config| # Enable memory adapter config.before(:each) { FakeRedis.enable } # replaces -b -fdoc --color in .rspec config.color = true config.default_formatter = "doc" config.backtrace_exclusion_patterns = [] config.mock_with :rspec do |c| # TODO: upgrade should syntax to expect syntax c.syntax = [:should, :expect] end config.expect_with :rspec do |c| # TODO: upgrade should syntax to expect syntax c.syntax = [:should, :expect] end end def fakeredis? FakeRedis.enabled? end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
fakeredis-0.7.0 | spec/spec_helper.rb |
kuende-fakeredis-0.10.0 | spec/spec_helper.rb |