RSpec - make your specs beautiful, extract common test functionality
Since tests are just code, we can refactor it the same way we refactor our application classes. Many times we would need the same piece of code in the different tests so it would be nice to not repeat it over and over again. I want to make my specs beautiful
Post a comment