8000 Add current state detail to minitest transition_from assertions by h-lame · Pull Request #850 · aasm/aasm · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@h-lame
Copy link
@h-lame h-lame commented Jul 30, 2024

It's useful when reviewing a failure to know which state you did get by firing the transition, not just the one you expected, as this can help with tracing down the error in the state machine. This brings the minitest helper closer to the output from the rspec version which already includes the actual state not just the expected one.

It's useful when reviewing a failure to know which state you did get by firing
the transition, not just the one you expected, as this can help with tracing
down the error in the state machine. This brings the minitest helper closer to
the output from the rspec version which already includes the actual state not
just the expected one.
@h-lame
Copy link
Author
h-lame commented Jul 30, 2024

Failure here from codeclimate seems overzealous - but I'm willing to try resolving it if a maintainer thinks there's merit in doing so.

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

0