Ensure has_and_belongs_to_many not used in rails4 and specs compatible
Rails 4.0/4.1 coverage