Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor Example and ExampleGroup #68

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

angelsanzn
Copy link
Contributor

Here are some changes which I think improve those classes as well.

@angelsanzn angelsanzn force-pushed the refactor-example-and-example-group branch from 55beb7d to 79093ca Compare December 17, 2015 01:02
@angelsanzn angelsanzn force-pushed the refactor-example-and-example-group branch 2 times, most recently from 4306c77 to 82f4f29 Compare January 8, 2016 14:40
Ángel Sanz added 8 commits April 2, 2016 19:00
They are unnecessary and can be re-introduced witout breaking anything whenever
they are needed.
…_failed`

This helps make it more explicit that errors can only be set once,
because the code checking for the condition is close to the code implementing
the actions that must happen if the condition occurs.
@angelsanzn angelsanzn force-pushed the refactor-example-and-example-group branch from a504544 to 34b228f Compare April 2, 2016 17:06
@angelsanzn angelsanzn force-pushed the refactor-example-and-example-group branch from 34b228f to 15ff01e Compare April 2, 2016 17:17
Ángel Sanz added 3 commits April 2, 2016 19:38
This documents why it is necessary to delete the property
even when subject instantiation fails: parents of the example
group may have already set a 'subject' property.
@angelsanzn angelsanzn force-pushed the refactor-example-and-example-group branch from 7df4e26 to 2f9fc16 Compare April 19, 2016 19:32
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.

1 participant