Module: RubyLLM::Contract::RSpec::Helpers
- Includes:
- Concerns::StubHelpers
- Defined in:
- lib/ruby_llm/contract/rspec/helpers.rb
Overview
‘stub_step`, `stub_steps`, `stub_all_steps` — provided by `Concerns::StubHelpers`. Shared implementation used by both RSpec and Minitest hosts; documentation and method signatures live in `concerns/stub_helpers.rb`.
Cleanup between examples is handled by the ‘around(:each)` hook in `lib/ruby_llm/contract/rspec.rb`, which snapshots and restores `step_adapter_overrides` plus `configuration.default_adapter`.