Sha256: 37aa58d4704f61929ccad7e52e59dea792d3ccd526c6a7ca6d10e940d79a508e

Contents?: true

Size: 668 Bytes

Versions: 1

Compression:

Stored size: 668 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"

RSpec.configure do |config|
  # 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?
  true
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fakeredis-0.5.0 spec/spec_helper.rb