ActiveRecord Block Matchers
Source codeAbout
This is a Ruby gem
that adds a few custom matchers to RSpec for testing some behaviors of
ActiveRecord. Specifically, it adds block matchers for create_a
and
and create
, which are for asseting that one or more records were created
during the block.