Sha256: 8a500bb8ee1e1c996f42d54ab8ee6d6d55d988a9be0f2528d842438d0e32e7bd

Contents?: true

Size: 1.41 KB

Versions: 8

Compression:

Stored size: 1.41 KB

Contents

if ENV['COVERAGE']
  require 'simplecov'
  SimpleCov.start do
    add_filter File.expand_path('../../spec', __FILE__)
  end
end

# Modify load path so you can require it directly.
$LOAD_PATH.unshift(File.expand_path('../../lib', __FILE__))

# show bundle install message if dependencies not met.
require 'bundler/setup'

# This will require me all the gems automatically for the groups. If I do only .setup then I will have to require gems
# manually. Note that you have still have to require some gems if they are part of bigger gem like ActiveRecord which is
# part of Rails. You can say :require => false in gemfile to always use explicit requiring
Bundler.require(:default, :test)

require 'excel_walker'

# This file was generated by the `rspec --init` command. Conventionally, all
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
# Require this file using `require "spec_helper"` to ensure that it is only
# loaded once.
#
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
RSpec.configure do |config|
  config.treat_symbols_as_metadata_keys_with_true_values = true
  config.run_all_when_everything_filtered = true
  config.filter_run :focus

  # Run specs in random order to surface order dependencies. If you find an
  # order dependency and want to debug it, you can fix the order by providing
  # the seed, which is printed after each run.
  #     --seed 1234
  config.order = 'random'
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
excel_walker-0.1.7 spec/spec_helper.rb
excel_walker-0.1.5 spec/spec_helper.rb
excel_walker-0.1.4 spec/spec_helper.rb
excel_walker-0.1.3 spec/spec_helper.rb
excel_walker-0.1.2 spec/spec_helper.rb
excel_walker-0.1.1 spec/spec_helper.rb
excel_walker-0.1.0 spec/spec_helper.rb
excel_walker-0.0.1 spec/spec_helper.rb