Tag: Mocking

Mocking Enumerables in Rspec

Rails puts some really powerful mocking libraries at our disposal. As long as your models are backed by ActiveRecord, ActiveRecord Fixtures and Factory Bot are two very good libraries for mocking. M

© 2019 NAYAN All Rights Reserved