Sha256: 987e7e6e2c3f3ae43605a31feae747f4c133be79f47580e544d508aacca8c93e

Contents?: true

Size: 900 Bytes

Versions: 4

Compression:

Stored size: 900 Bytes

Contents

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
require 'rspec'
require 'pry'
require 'yearbook'

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


IMAGE_DIR ||= File.expand_path '../spec/fixtures/images', '__FILE__'



RSpec.configure do |config|

  config.filter_run_excluding skip: true 
  config.run_all_when_everything_filtered = true
  config.filter_run :focus => true

  config.mock_with :rspec

   # Use color in STDOUT
  config.color_enabled = true

  # Use color not only in STDOUT but also in pagers and files
  config.tty = true

  # Use the specified formatter
  config.formatter = :documentation # :progress, :html, :textmate

  config.before(:each) do
  end

  config.after(:each) do
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
yearbook-0.3.0 spec/spec_helper.rb
yearbook-0.2.3 spec/spec_helper.rb
yearbook-0.2.1 spec/spec_helper.rb
yearbook-0.2.0 spec/spec_helper.rb