Module: Snapsync::SelfTest
- Includes:
- FlexMock::ArgumentTypes, FlexMock::MockContainer
- Defined in:
- lib/snapsync/test.rb
Overview
This module is the common setup for all tests
It should be included in the toplevel describe blocks
Instance Method Summary collapse
Instance Method Details
#setup ⇒ Object
46 47 48 |
# File 'lib/snapsync/test.rb', line 46 def setup # Setup code for all the tests end |
#teardown ⇒ Object
50 51 52 53 54 55 56 |
# File 'lib/snapsync/test.rb', line 50 def teardown if defined? FlexMock flexmock_teardown end super # Teardown code for all the tests end |