push
github
3 of 3 new or added lines in 1 file covered. (100.0%)
3 existing lines in 3 files now uncovered.2818 of 3081 relevant lines covered (91.46%)
586.2 hits per line
1 |
module Trestle |
13✔ |
2 |
module Controller |
13✔ |
3 |
module Breadcrumbs |
13✔ |
4 |
extend ActiveSupport::Concern |
13✔ |
5 |
|
|
6 |
included do
|
13✔ |
7 |
helper_method :breadcrumbs
|
13✔ |
8 |
helper_method :breadcrumb
|
13✔ |
9 |
end
|
|
10 |
|
|
11 |
protected |
13✔ |
12 |
def breadcrumbs |
13✔ |
UNCOV
13
|
@_breadcrumbs ||= Breadcrumb::Trail.new(Trestle.config.root_breadcrumbs) |
× |
14 |
end
|
|
15 |
|
|
16 |
def breadcrumb(label, path=nil) |
13✔ |
17 |
breadcrumbs.append(label, path) |
169✔ |
18 |
end
|
|
19 |
end
|
|
20 |
end
|
|
21 |
end
|