Dwight Watson's blog

#rspec

5 posts

    Occasionally I run into an issue where my RSpec system tests start to fail because they’re unable to connect to the instance. It turns out…

    With ActiveStorage it’s pretty simple to test your controllers and check that file uploads are working the way you expect. Just configure…

    I’ve been running a new Rails project up on the branch while having a play with the new ActiveStorage module to see if it will be a good…

    Rails has a handy redirect method called which replaces the old syntax. It's improved now because it gracefully handles the case where…

    I've been tinkering about with after reading Thoughtbot's post on the topic. Works a charm, but I noticed a lot of the example specs for…