push
0 of 1 new or added line in 1 file covered. (0.0%)
6593 existing lines in 123 files now uncovered.2413 of 15669 relevant lines covered (15.4%)
1.24 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
|
× |