Module: TestBench::Session::Controls::Events::TestStarted
- Defined in:
- lib/test_bench/session/controls/events/test_started.rb
Defined Under Namespace
Class Method Summary collapse
Class Method Details
.example(title: nil) ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/test_bench/session/controls/events/test_started.rb', line 6 def self.example(title: nil) if title == :none title = nil else title ||= self.title end test_started = Session::Events::TestStarted.new test_started.title = title test_started. = Metadata.example test_started end |