Write tests for Draftsman.draft_class_name setting
chrisdpeters opened this issue · 1 comments
chrisdpeters commented
This configuration doesn't seem to be picked up by the model:
Draftsman.draft_class_name = 'Draft'
It was working earlier running from my Mac on Rails 4.0. (I'm now running the app in Ubuntu, Rails 4.2)
In the meantime, I have to configure has_drafts
like so:
has_drafts class_name: 'Draft'
chrisdpeters commented
This was in fact working. Decided to write a couple tests to make sure that it keeps working.