How using object factories and mixing mutable and immutable state can lead to bugs in your code and
Using factories is nice to simplify your specs, but you should be careful with the mutable objects you could be reusing there.
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!
Using factories is nice to simplify your specs, but you should be careful with the mutable objects you could be reusing there.
Post a comment