Custom Argument Matchers in RSpec
A tutorial on how to create Custom Argument Matchers in RSpec. Tells you how to add things like #with(array_including(‘a’)) to complement the existing #with(hash_including(:key => val)).
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
A tutorial on how to create Custom Argument Matchers in RSpec. Tells you how to add things like #with(array_including(‘a’)) to complement the existing #with(hash_including(:key => val)).
Post a comment