3 ms·
I was curious about the `insist { foo }` syntax – looks like it's coming from this: https://github.com/jordansissel/ruby-insist https://github.com/jordansissel
by kmf 11y ago
I was curious about the `insist { foo }` syntax – looks like it's coming from this:
https://github.com/jordansissel/ruby-insist https://github.com/jordansissel/ruby-insist
Any reason why you're using that over the standard `expect` syntax?
- pereurbon 11y agoThe insist method is an old way of testing logstash introduced by Jordan Sissel, one of the creators of the project. However since a few weeks we're moving forward in favor of using the good and great rspec3 syntax ;-) Disclaimer: I'm a LS core developer, and initiated all the rspec improvement stuff :-)