The Gnar Blog - RSpec Negated Matchers
16-Sep-2021 1206
We want to test that when we call our Ruby method, one result does occur while another result does not occur. Specifically, we want to test that an Event is created but that an EventPayload is not created. Using RSpec, we have this so far:.
The Gnar Blog - RSpec Negated Matchers #ruby #rubydeveloper #rubyonrails #RSpec #Negated #Matchers #blog #rspec https://rubyonrails.ba/link/the-gnar-blog-rspec-negated-matchers