module GoldenChild::Helpers
Attributes
scenario[W]
Public Instance Methods
populate_from(source_dir)
click to toggle source
(see Scenario#populate_from
)
# File lib/golden_child/helpers.rb, line 15 def populate_from(source_dir) scenario.populate_from(source_dir, caller) end
run(*args, ** options, &block)
click to toggle source
(see Scenario#run
)
# File lib/golden_child/helpers.rb, line 20 def run(*args, ** options, &block) scenario.run(*args, caller: caller, ** options) end
scenario()
click to toggle source
@return [Scenario] the currently active scenario
# File lib/golden_child/helpers.rb, line 10 def scenario @scenario or fail "You must set the scenario first" end
within_zip(*args, &block)
click to toggle source
(see Scenario#within_zip
)
# File lib/golden_child/helpers.rb, line 25 def within_zip(*args, &block) scenario.within_zip(*args, &block) end