Sha256: 6cad3683471f534a23ab2b30d96c57a121e1817da8df6270a3f941351151d990

Contents?: true

Size: 765 Bytes

Versions: 5

Compression:

Stored size: 765 Bytes

Contents

# encoding: UTF-8
require 'uglifier'
require 'rspec'
require 'sourcemap'

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

if ENV["ALASKA"]
  require 'alaska/runtime'
  require 'tempfile'
  ExecJS.runtime = Alaska::Runtime.new
end

RSpec.configure do |config|
  config.mock_with :rspec do |mock|
    mock.syntax = :expect
  end
  config.expect_with :rspec do |expect|
    expect.syntax = :expect
  end

  if ENV['CI']
    config.before(:example, :focus) { raise "Do not commit focused specs" }
  else
    config.filter_run_including :focus => true
    config.run_all_when_everything_filtered = true
  end

  config.warnings = true
end

Version data entries

5 entries across 5 versions & 3 rubygems

Version Path
arcabouco-0.2.13 vendor/bundle/gems/uglifier-3.0.1/spec/spec_helper.rb
uglifier-3.0.2 spec/spec_helper.rb
uglifier-3.0.1 spec/spec_helper.rb
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/uglifier-3.0.0/spec/spec_helper.rb
uglifier-3.0.0 spec/spec_helper.rb