Sha256: 1bae26fc3e9a143a7a6ae53cf7e7609a02487d55b7b34c1527556a434b749727

Contents?: true

Size: 541 Bytes

Versions: 1

Compression:

Stored size: 541 Bytes

Contents

begin
  require 'spec'
rescue LoadError
  require 'rubygems'
  gem 'rspec'
  require 'rspec'
end
require 'rspec_spinner'

config = RSpec.configuration
# we want to use colored output for the console, right?
config.color_enabled = true
documentation_formatter = config.send(:built_in_formatter, :documentation).new(config.output)
custom_formatter = RspecSpinner::Spinner.new(STDOUT)
config.instance_variable_set(:@reporter, RSpec::Core::Reporter.new(documentation_formatter, custom_formatter))

$:.unshift(File.dirname(__FILE__) + '/../lib')

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rspec_spinner-2.0.0 spec/spec_helper.rb