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
7 8 9 10 11 |
# File 'lib/au_core_test_kit/assert_helpers.rb', line 7 def (act_func, condition, ) info if condition act_func.call(condition, ) end |
#act_with_message(act_func, message) ⇒ Object
13 14 15 16 17 |
# File 'lib/au_core_test_kit/assert_helpers.rb', line 13 def (act_func, ) info act_func.call() end |
#conditional_skip_with_msg(condition, message) ⇒ Object
19 20 21 |
# File 'lib/au_core_test_kit/assert_helpers.rb', line 19 def conditional_skip_with_msg(condition, ) (method(:skip_if), condition, ) end |
#skip_with_msg(message) ⇒ Object
23 24 25 |
# File 'lib/au_core_test_kit/assert_helpers.rb', line 23 def skip_with_msg() (method(:skip), ) end |