Sha256: 809f8d949669882cc804b5333e2c0ee893a7f79488d386c78f65dac13f7d6d95

Contents?: true

Size: 724 Bytes

Versions: 6

Compression:

Stored size: 724 Bytes

Contents

require 'bundler/setup'
require 'simplecov'

Bundler.require(:test)
Bundler.require(:debugger) unless ENV.key?('CI')

ENV['RACK_ENV'] = 'test'

$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
require 'kibana/rack'

require 'rack/test'
require 'webmock/rspec'

RSpec.configure do |config|
  config.default_formatter = 'doc' if config.files_to_run.one?
  config.filter_run :focus
  config.order = :random
  config.profile_examples = 10
  config.run_all_when_everything_filtered = true

  config.expect_with :rspec do |expectations|
    expectations.syntax = :expect
  end

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

  Kernel.srand config.seed
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
kibana-rack-0.2.0 spec/spec_helper.rb
kibana-rack-0.1.4 spec/spec_helper.rb
kibana-rack-0.1.3 spec/spec_helper.rb
kibana-rack-0.1.2 spec/spec_helper.rb
kibana-rack-0.1.1 spec/spec_helper.rb
kibana-rack-0.1.0 spec/spec_helper.rb