Sha256: f3ef2139ad066fa76fcc304bfe19733e222587fc41c638d2e6f88e9f081a3bc1

Contents?: true

Size: 990 Bytes

Versions: 80

Compression:

Stored size: 990 Bytes

Contents

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

SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
  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

80 entries across 80 versions & 1 rubygems

Version Path
polytexnic-1.3.5 spec/spec_helper.rb
polytexnic-1.3.4 spec/spec_helper.rb
polytexnic-1.3.3 spec/spec_helper.rb
polytexnic-1.3.2 spec/spec_helper.rb
polytexnic-1.3.1 spec/spec_helper.rb
polytexnic-1.3.0 spec/spec_helper.rb
polytexnic-1.2.8 spec/spec_helper.rb
polytexnic-1.2.7 spec/spec_helper.rb
polytexnic-1.2.6 spec/spec_helper.rb
polytexnic-1.2.5 spec/spec_helper.rb
polytexnic-1.2.4 spec/spec_helper.rb
polytexnic-1.2.3 spec/spec_helper.rb
polytexnic-1.2.2 spec/spec_helper.rb
polytexnic-1.2.1 spec/spec_helper.rb
polytexnic-1.2.0 spec/spec_helper.rb
polytexnic-1.1.14 spec/spec_helper.rb
polytexnic-1.1.11 spec/spec_helper.rb
polytexnic-1.1.10 spec/spec_helper.rb
polytexnic-1.1.9 spec/spec_helper.rb
polytexnic-1.1.8 spec/spec_helper.rb