Sha256: 4824eab9d8599eb278487f77a53aa542d47edc8a63c182acd575de14d158a033

Contents?: true

Size: 995 Bytes

Versions: 47

Compression:

Stored size: 995 Bytes

Contents

require 'simplecov'
require 'json'
require 'coveralls'

SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new([
  SimpleCov::Formatter::HTMLFormatter,
  Coveralls::SimpleCov::Formatter])
SimpleCov.start

require 'polytexnic'

# Load support files.
Dir.glob(File.join(File.dirname(__FILE__), "./support/**/*.rb")).each do |f|
  require_relative(f)
end

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

  Polytexnic::Utils.set_test_mode!
  config.before do
    Polytexnic::Utils.set_test_mode!
  end

  # Disallow the old-style 'object.should' syntax.
  config.expect_with :rspec do |c|
    c.syntax = :expect
  end

  # 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

47 entries across 47 versions & 1 rubygems

Version Path
polytexnic-1.10.8 spec/spec_helper.rb
polytexnic-1.10.7 spec/spec_helper.rb
polytexnic-1.10.6 spec/spec_helper.rb
polytexnic-1.10.5 spec/spec_helper.rb
polytexnic-1.10.4 spec/spec_helper.rb
polytexnic-1.10.3 spec/spec_helper.rb
polytexnic-1.10.2 spec/spec_helper.rb
polytexnic-1.10.1 spec/spec_helper.rb
polytexnic-1.10.0 spec/spec_helper.rb
polytexnic-1.9.2 spec/spec_helper.rb
polytexnic-1.9.1 spec/spec_helper.rb
polytexnic-1.9.0 spec/spec_helper.rb
polytexnic-1.8.2 spec/spec_helper.rb
polytexnic-1.8.1 spec/spec_helper.rb
polytexnic-1.8.0 spec/spec_helper.rb
polytexnic-1.7.5 spec/spec_helper.rb
polytexnic-1.7.4 spec/spec_helper.rb
polytexnic-1.7.3 spec/spec_helper.rb
polytexnic-1.7.2 spec/spec_helper.rb
polytexnic-1.7.1 spec/spec_helper.rb