diff options
Diffstat (limited to 'spec/ruby/default.mspec')
| -rw-r--r-- | spec/ruby/default.mspec | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/spec/ruby/default.mspec b/spec/ruby/default.mspec index a0dc69c03d..90f4c1ccaa 100644 --- a/spec/ruby/default.mspec +++ b/spec/ruby/default.mspec @@ -29,22 +29,24 @@ class MSpecScript set :ci_files, get(:files) # The default implementation to run the specs. + # TODO: this needs to be more sophisticated since the + # executable is not consistently named. set :target, 'ruby' set :backtrace_filter, /mspec\// set :tags_patterns, [ - [%r(language/), 'tags/language/'], - [%r(core/), 'tags/core/'], - [%r(command_line/), 'tags/command_line/'], - [%r(library/), 'tags/library/'], - [%r(security/), 'tags/security/'], - [/_spec\.rb$/, '_tags.txt'] + [%r(language/), 'tags/1.9/language/'], + [%r(core/), 'tags/1.9/core/'], + [%r(command_line/), 'tags/1.9/command_line/'], + [%r(library/), 'tags/1.9/library/'], + [%r(security/), 'tags/1.9/security/'], + [/_spec.rb$/, '_tags.txt'] ] - set :toplevel_constants_excludes, [ - /\wSpecs?$/, - /^CS_CONST/, - /^CSL_CONST/, - ] + # Enable features + MSpec.enable_feature :fiber + MSpec.enable_feature :fiber_library + MSpec.enable_feature :fork if respond_to?(:fork, true) + MSpec.enable_feature :encoding end |
