Module: TestBench::Controls::Fixture
- Defined in:
- lib/test_bench/controls/fixture.rb
Defined Under Namespace
Classes: Example
Class Method Summary collapse
Class Method Details
.example ⇒ Object
21 22 23 |
# File 'lib/test_bench/controls/fixture.rb', line 21 def self.example Example.new end |
.pair ⇒ Object
25 26 27 28 29 30 31 32 33 |
# File 'lib/test_bench/controls/fixture.rb', line 25 def self.pair binding = Binding.example telemetry = TestBench::Telemetry::Registry.get binding fixture = example fixture.structure = binding.receiver return fixture, telemetry end |