Class: Spork::TestFramework::RSpec

Inherits:
Spork::TestFramework
  • Object
show all
Defined in:
lib/spork/test_framework/rspec.rb

Instance Method Summary collapse

Instance Method Details

#additional_options=(options) ⇒ Object



11
12
13
# File 'lib/spork/test_framework/rspec.rb', line 11

def additional_options= options
  ::RSpec::configuration.full_description = options.join(" ")
end

#resetObject



2
3
4
5
6
7
8
9
# File 'lib/spork/test_framework/rspec.rb', line 2

def reset
  if rspec1?
    raise NotImplementedError
  else
    ::RSpec.reset
    ::RSpec.configuration.inclusion_filter.clear
  end
end