Sha256: adf463f1ec1ffeec58cb51c4d07f83165706ab60865dabd910219bcbb98cf58e

Contents?: true

Size: 413 Bytes

Versions: 1

Compression:

Stored size: 413 Bytes

Contents

require 'rubygems'
require 'spec'

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

$behaviour_runner = ::Spec::Runner::OptionParser.new.create_behaviour_runner(args, false, STDOUT, STDERR)

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

$behaviour_runner.run(nil, true)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fjson-0.1.2 spec/spec_suite.rb