Stubbing Class Constants when Testing
I just posted Stubbing Class Constants when Testing that uses a little trick to “stub” class constants when testing with RSpec. Check it out!
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!
I just posted Stubbing Class Constants when Testing that uses a little trick to “stub” class constants when testing with RSpec. Check it out!
Post a comment