push
0 of 1 new or added line in 1 file covered. (0.0%)
6774 existing lines in 129 files now uncovered.1939 of 15613 relevant lines covered (12.42%)
0.25 hits per line
UNCOV
1
|
class Permission < ApplicationRecord |
× |
2 |
# attr_accessible :name
|
|
3 |
|
|
UNCOV
4
|
validates :name, presence: true |
× |
UNCOV
5
|
validates :name, uniqueness: true |
× |
6 |
|
|
UNCOV
7
|
has_many :content_pages, dependent: :nullify |
× |
UNCOV
8
|
has_many :controller_actions, dependent: :nullify |
× |
UNCOV
9
|
end
|
× |