Top Level Namespace

Defined Under Namespace

Modules: CapybaraTestHelpers Classes: TestHelperGenerator

Instance Method Summary collapse

Instance Method Details

#use_test_helpers(*names) ⇒ Object

Public: Use outside of the steps to make it available on all steps.



8
9
10
11
12
# File 'lib/capybara_test_helpers/rspec.rb', line 8

def use_test_helpers(*names)
  names.each do |name|
    let(name) { get_test_helper(name) }
  end
end