Class: RSpec::Core::Configuration

Inherits:
Object
  • Object
show all
Defined in:
opal/opal/rspec/fixes/rspec/core/configuration.rb

Instance Method Summary collapse

Instance Method Details

#files_or_directories_to_run=(*files) ⇒ Object

This needs to be implemented if/when we allow the Opal side to decide what files to run



3
4
5
6
# File 'opal/opal/rspec/fixes/rspec/core/configuration.rb', line 3

def files_or_directories_to_run=(*files)
  @files_or_directories_to_run = []
  @files_to_run = nil
end

#requires=(paths) ⇒ Object



8
9
10
# File 'opal/opal/rspec/fixes/rspec/core/configuration.rb', line 8

def requires=(paths)
  # can't change requires @ this stage, this method calls RubyProject which will crash on Opal
end