Module: Moarspec::ExampleGroups

Defined in:
lib/moarspec/example_groups.rb,
lib/moarspec/example_groups/instant_context.rb

Overview

Wrapper module for all RSpec additions that adjust example groups (‘context`) creation.

## #instant_context

“‘ruby subject { x + y }

instant_context ‘with numeric values’, lets: 1, y: 2 do

it { is_expected.to eq 3 }

end “‘

Defined Under Namespace

Modules: InstantContext