class MRspec::Runner
Public Class Methods
new(*)
click to toggle source
Calls superclass method
# File lib/mrspec/runner.rb, line 5 def initialize(*) super # seems like there should be a better way, but I can't figure out what it is files_and_dirs = @options.options[:files_or_directories_to_run] return if files_and_dirs.any? files_and_dirs << 'spec' if File.directory? 'spec' files_and_dirs << 'test' if File.directory? 'test' end