Module: AUCoreTestKit::AssertHelpers
- Extended by:
- Forwardable
- Included in:
- MustSupportTest, ReferenceResolutionTest, SearchTest, SpecialIdentifierSearchTest, ValidationTest
- Defined in:
- lib/au_core_test_kit/assert_helpers.rb
Instance Method Summary collapse
- #act_if_with_message(act_func, condition, message) ⇒ Object
- #act_with_message(act_func, message) ⇒ Object
- #conditional_skip_with_msg(condition, message) ⇒ Object
- #skip_with_msg(message) ⇒ Object
Instance Method Details
#act_if_with_message(act_func, condition, message) ⇒ Object
11 12 13 14 15 |
# File 'lib/au_core_test_kit/assert_helpers.rb', line 11 def (act_func, condition, ) info if condition act_func.call(condition, ) end |
#act_with_message(act_func, message) ⇒ Object
17 18 19 20 21 |
# File 'lib/au_core_test_kit/assert_helpers.rb', line 17 def (act_func, ) info act_func.call() end |
#conditional_skip_with_msg(condition, message) ⇒ Object
23 24 25 |
# File 'lib/au_core_test_kit/assert_helpers.rb', line 23 def conditional_skip_with_msg(condition, ) (method(:skip_if), condition, ) end |
#skip_with_msg(message) ⇒ Object
27 28 29 |
# File 'lib/au_core_test_kit/assert_helpers.rb', line 27 def skip_with_msg() (method(:skip), ) end |