摘要:
What is the real difference between shared_examples and shared_context ? My observations : I can test same things using both (i.e. with shared_example 阅读全文
摘要:
It’s pretty common to have multiple tests that are nearly the same. In one app, we support bidding on both online and hammer auctions (auctions with p 阅读全文
摘要:
Concerns are a new feature that was added in Rails 4. They allow to clean up code in your models and controllers. They also allow you to share functio 阅读全文