Class: Cucumber::Filters::ActivateSteps::CaseFilter

Inherits:
Object
  • Object
show all
Defined in:
lib/cucumber/filters/activate_steps.rb

Defined Under Namespace

Classes: FindMatch

Instance Method Summary collapse

Constructor Details

#initialize(test_case, step_match_search, configuration) ⇒ CaseFilter

Returns a new instance of CaseFilter.



16
17
18
19
20
# File 'lib/cucumber/filters/activate_steps.rb', line 16

def initialize(test_case, step_match_search, configuration)
  @original_test_case = test_case
  @step_match_search = step_match_search
  @configuration = configuration
end

Instance Method Details

#test_caseObject



22
23
24
# File 'lib/cucumber/filters/activate_steps.rb', line 22

def test_case
  @original_test_case.with_steps(new_test_steps)
end