spec/support/models.rb in cancannible-0.0.2 vs spec/support/models.rb in cancannible-1.0.0

- old
+ new

@@ -27,10 +27,10 @@ belongs_to :role belongs_to :user end class Role < ActiveRecord::Base - has_many :roles_users, :class_name => 'RolesUsers' + has_many :roles_users, class_name: 'RolesUsers' has_many :users, through: :roles_users include Cancannible::Grantee end