Testing for Errors without Side–Effects in RSpec
A simple way to write RSpec tests that assert an exception is raised and changes are rolled back.
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 simple way to write RSpec tests that assert an exception is raised and changes are rolled back.
Post a comment