Nolan Phillips
Nolan Phillips's Blog

Nolan Phillips's Blog

Follow
Follow
homeGitHubbadges

Can we make a grammar for our design system?

Jun 22, 20222 min read

Design tokens are not enough to ensure visual consistency. Could a grammar help us with that goal? · As the only person building HeartPayroll I find...

Can we make  a grammar for our design system?

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

The React Named Children Pattern

Aug 12, 20202 min read

Passing multiple children in React often leads to awkward APIs. That’s where the Named Children Pattern can help. · Composition One of the key concepts...

The React Named Children Pattern