Sha256: 9348848c78a841ab5ff82bc52d8e7297d7541cd1ef1e098d9105f06f93951317

Contents?: true

Size: 742 Bytes

Versions: 8

Compression:

Stored size: 742 Bytes

Contents

require "simplecov"
$LOAD_PATH.unshift File.expand_path("../../lib", __FILE__)
require "sapience/grape"
require "rspec/its"
require "ping"
require "pry"

RSpec.configure do |config|
  config.expect_with :rspec do |expectations|
    expectations.include_chain_clauses_in_custom_matcher_descriptions = true
  end

  config.mock_with :rspec do |mocks|
    mocks.verify_partial_doubles = true
  end

  config.shared_context_metadata_behavior = :apply_to_host_groups
  config.filter_run_when_matching :focus
  config.example_status_persistence_file_path = "spec/examples.txt"
  config.default_formatter = "doc" if config.files_to_run.one?
  config.order = :random
  Kernel.srand config.seed
  config.before(:each) do
    Sapience.reset!
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
sapience-1.0.11 test_apps/grape/spec/spec_helper.rb
sapience-1.0.10 test_apps/grape/spec/spec_helper.rb
sapience-1.0.9 test_apps/grape/spec/spec_helper.rb
sapience-1.0.8 test_apps/grape/spec/spec_helper.rb
sapience-1.0.7 test_apps/grape/spec/spec_helper.rb
sapience-1.0.6 test_apps/grape/spec/spec_helper.rb
sapience-1.0.5 test_apps/grape/spec/spec_helper.rb
sapience-1.0.4 test_apps/grape/spec/spec_helper.rb