thoughtbot/factory_girl — pull request #724 by red56 (2014-11-18 06:28:18+00:00)
Title: correct error message when stubbed reload called with transaction lock a...

stubbed models' reload now takes an optional attrs param to cover defined option:

> ActiveRecord::Persistence
> ...
> **reload**(options = nil)
> The optional :lock flag option allows you to lock the reloaded record:
> reload(lock: true) # reload with pessimistic locking