Class: BeetleETL::Testing::TestWrapper
- Inherits:
-
Struct
- Object
- Struct
- BeetleETL::Testing::TestWrapper
- Defined in:
- lib/beetle_etl/testing/test_wrapper.rb
Instance Attribute Summary collapse
-
#config ⇒ Object
Returns the value of attribute config.
-
#table_names ⇒ Object
Returns the value of attribute table_names.
Instance Method Summary collapse
Instance Attribute Details
#config ⇒ Object
Returns the value of attribute config
3 4 5 |
# File 'lib/beetle_etl/testing/test_wrapper.rb', line 3 def config @config end |
#table_names ⇒ Object
Returns the value of attribute table_names
3 4 5 |
# File 'lib/beetle_etl/testing/test_wrapper.rb', line 3 def table_names @table_names end |
Instance Method Details
#run(block) ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'lib/beetle_etl/testing/test_wrapper.rb', line 5 def run(block) begin create_stages block.call ensure drop_stages end end |