Why using constant mocking in RSpec is a bad idea?
This blog post explains why you should never write expect(Noo).to receive(:doo).and_return(bar)
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!
This blog post explains why you should never write expect(Noo).to receive(:doo).and_return(bar)
Post a comment