Testing Rake Tasks With RSpec and Fantaskspec
Rake is great, but sometimes it can be a little tricky to test. I've bundled together some convenient helpers for RSpec to make testing Rake tasks easier.
Rake is great, but sometimes it can be a little tricky to test. I've bundled together some convenient helpers for RSpec to make testing Rake tasks easier.
I'm happy to announce that we've just cut two new releases of our Hstore Accessor gem! If you're not familiar with the gem, it allows you to treat fields stored on an hstore as though they were regular columns in your database. Getters, setters and much more.
Here's a little walkthrough on how to set up your Rails
app for maximum JavaScript testing awesomeness.
Behold! You can now use JavaScript-like objects in Ruby!