Sha256: 4add9b1aac518af23e80186f79df11d8835e4f082564a2f37fbbd7048c555adc

Contents?: true

Size: 793 Bytes

Versions: 4

Compression:

Stored size: 793 Bytes

Contents

# frozen_string_literal: true
if ENV['CODECLIMATE_REPO_TOKEN']
  # require 'codeclimate-test-reporter'
  # CodeClimate::TestReporter.start
  require 'simplecov'
  SimpleCov.start
end

require 'bundler/setup'
Bundler.setup

require 'freshdesk_apiclient'

RSpec.configure do |config|
  # Enable flags like --only-failures and --next-failure
  config.example_status_persistence_file_path = '.rspec_status'

  config.expect_with(:rspec) {|c| c.syntax = :expect }
  config.mock_with(:rspec) {|mocks| mocks.verify_partial_doubles = true }
  # config.filter_run_including :focus => true
  config.default_formatter = 'doc' if config.files_to_run.one?
  config.order = :random
  config.example_status_persistence_file_path = 'spec/examples.txt'
  config.warnings = true

  Kernel.srand config.seed
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
freshdesk_apiclient-0.1.5 spec/spec_helper.rb
freshdesk_apiclient-0.1.4 spec/spec_helper.rb
freshdesk_apiclient-0.1.3 spec/spec_helper.rb
freshdesk_apiclient-0.1.2 spec/spec_helper.rb