Sha256: 1e51fba4d9f0103c6e90f23ff0c05500d54078b4358fca06a4aa2bafc15a95b2

Contents?: true

Size: 718 Bytes

Versions: 2

Compression:

Stored size: 718 Bytes

Contents

ENV["RAILS_ENV"] = "test"

require File.expand_path("../dummy/config/environment.rb",  __FILE__)
require "rails/test_help"

Rails.backtrace_cleaner.remove_silencers!

require 'rspec'
require 'personhood'
require 'rspec/rails'

# Requires supporting files with custom matchers and macros, etc,
# in ./support/ and its subdirectories.
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}

RSpec.configure do |config|
  # config.mock_with :rspec
  config.treat_symbols_as_metadata_keys_with_true_values = true
  config.filter_run focus: true
  config.run_all_when_everything_filtered = true
  config.alias_it_should_behave_like_to :it_has_behavior, 'has behavior:'
  config.include HaveErrorMatchers
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
personhood-0.2.0 spec/spec_helper.rb
personhood-0.1.2 spec/spec_helper.rb