Sha256: 59a34aa2bd3e19f3552e4278fb62314736e0de795bec67e7e1b37a56530d3538

Contents?: true

Size: 502 Bytes

Versions: 1

Compression:

Stored size: 502 Bytes

Contents

require 'rubygems'
require 'spec'

args = ARGV.dup
unless args.include?("-f") || args.include?("--format")
  args << "--format"
  args << "specdoc"
end
args << $0

$context_runner = ::Spec::Runner::OptionParser.create_context_runner(args, false, STDERR, STDOUT)

at_exit do
  unless context_runner.instance_eval {@reporter}.instance_eval {@start_time}
    context_runner.run(false)
  end
end

dir = File.dirname(__FILE__)

Dir["#{dir}/**/*_spec.rb"].each do |file|
  require File.expand_path(file)
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fjson-0.0.8 spec/spec_suite.rb