thoughtbot / shoulda-context

Shoulda Context makes it easy to write understandable and maintainable tests under Minitest and Test::Unit within Rails projects or plain Ruby projects.
MIT License
239 stars 58 forks source link

Use proper source location for should calls without a block #92

Closed segiddins closed 8 months ago

segiddins commented 9 months ago

Fixes https://github.com/thoughtbot/shoulda-context/issues/85

segiddins commented 9 months ago

cc @VSPPedro, if this is acceptable, a release with this plus https://github.com/thoughtbot/shoulda-context/pull/89 would be a huge QoL improvement 🙇🏻

segiddins commented 8 months ago

@VSPPedro is there anything else I should add to this?

vsppedro commented 8 months ago

@segiddins Sorry for not getting back to you sooner. I wanted to finish up some work on Snowglobe first, but life got in the way, and I've been feeling low on energy lately. I'll merge this and aim to release it over the weekend. Not sure if I have all the access I need though. Apologies again for the delay.

vsppedro commented 8 months ago

Thank you for your contribution!