Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

pjanek
Copy link

@pjanek pjanek commented Oct 10, 2019

No description provided.

Przemek Bieliński and others added 2 commits October 10, 2019 12:40
Co-Authored-By: Przemek Bieliński <[email protected]>

* ErrorCollector for Pipes::Context

* Store error passed to 'halt' in the error collectors errors hash in the :base key. Add 'error' method returning this error for backwards compatibility.

* Update gem version
* strong context elements v1-simple

* tests for strong context elements

* extract _merge_context_elements method

* rename 'cls' to 'klass'

* reformat _validate_ctx

* reformat tests and add tests for require_context
Copy link

@TarasJan TarasJan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[💄 Cosmetic change] in spec desc

context 'when required context element present with valid type' do
let(:pipe) { ProvidingNumericChild | RequiringNumericChild }

it 'raises InvalidType' do

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should most likely be it does not raise

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants