Nolan Phillips
Nolan Phillips's Blog

Nolan Phillips's Blog

Follow
Follow
homeGitHubbadges
Tag

Ruby

#ruby

More content

Read more stories on Hashnode


Articles with this tag

How to Mock ActionMailer

May 13, 20222 min read

Using RSpec custom matchers to make clean ActionMailer mocks · The Rails ActionMailer is a pretty useful tool. Unfortunately, it's extremely awkward to...

How to Mock ActionMailer

Testing for Change

May 10, 20224 min read

How using the RSpec `change` matcher can make your Rails tests easier to read and maintain. · Writing tests that check that a value you don't control has...

Testing for Change

An Introduction to Contract Testing in Rails

May 3, 20223 min read

Greater confidence. Fewer specs. · After years of listening to J.B. Rainsberger tell me Contract tests are great, I finally started listening. I always...

An Introduction to Contract Testing in Rails

Testing GraphQL in Rails

Apr 13, 20223 min read

Writing clean RSpec tests with Rails and graphql-ruby. · Goals When we set out to test our GraphQL API we wanted 3 things: To write GQL queries as a...

Testing GraphQL in Rails