class RSpec::Optimal::Runner

Public Instance Methods

command() click to toggle source
# File lib/rspec/optimal/runner.rb, line 4
def command
  'bundle exec rspec'
end
dir() click to toggle source
# File lib/rspec/optimal/runner.rb, line 8
def dir
  'spec'
end
files_end_with() click to toggle source
# File lib/rspec/optimal/runner.rb, line 12
def files_end_with
  "_spec.rb"
end
run_examples(examples) click to toggle source
# File lib/rspec/optimal/runner.rb, line 16
def run_examples(examples)
  RSpec::Core::Runner.run(examples)
  RSpec.clear_examples
end