Showing posts with label rspec. Show all posts
Showing posts with label rspec. Show all posts

Dynamic context in Rspec - don't repeat yourself

Advanced rspec features allow to use very effective technique to organize tests. You are able to construct and define context...

Ultimate rspec matcher to test named_scope or scoped

After having a good practice on using Ultimate rspec matcher to test validation I think it's time to implement one for testing...

Ultimate rspec matcher to test validation

After a first thousand of tests using Rspec I fount it very annoying to repeat my self testing the standard code as spec...

Objects behaviour inheritance with RSpec

About half of a year ago I was writing about object interface and Liskov Substitution Princeple. In short: Any class instance...
Copyright © 2025 Spesial Unik. All rights reserved. Template by CB. Theme Framework: Responsive Design