taylorthurlow / panda-motd

a utility for generating a more useful MOTD
MIT License
134 stars 6 forks source link

Refactor/tests best practices #21

Closed taylorthurlow closed 5 years ago

taylorthurlow commented 5 years ago

Wasn't super satisfied with the current state of how testing works so I rewrote everything with FactoryBot. Things are slightly more complicated because FactoryBot is typically a Rails thing but works with plain Ruby mostly just fine.

Br1ght0ne commented 5 years ago

Wow, good job. Specs look much better now!

taylorthurlow commented 5 years ago

Thanks!!