| Class | Scenarios::Base |
| In: |
lib/scenarios/base.rb
|
| Parent: | Object |
| table_config | [R] |
Class method for your own scenario to define helper methods that will be included into the scenario and all specs that include the scenario
Initialize a scenario with a Configuration. Used internally by the Scenarios plugin.
This method should be implemented in your scenarios. You may also have scenarios that simply use other scenarios, so it is not required that this be overridden.
Unload a scenario, sort of. This really only deletes the records, all of them, of every table this scenario modified. The goal is to maintain a clean database for successive runs. Used internally by the Scenarios plugin.