circleci
6 of 6 new or added lines in 4 files covered. (100.0%)
31 of 8842 relevant lines covered (0.35%)
0.0 hits per line
1 |
module ActiveFedora |
× |
2 |
module Pathing |
× |
3 |
extend ActiveSupport::Concern |
× |
4 |
|
|
5 |
included do
|
× |
6 |
def uri_prefix |
× |
7 |
nil
|
× |
8 |
end
|
× |
9 |
|
|
10 |
def has_uri_prefix? |
× |
11 |
!uri_prefix.nil? |
× |
12 |
end
|
× |
13 |
|
|
14 |
def root_resource_path |
× |
15 |
if has_uri_prefix?
|
× |
16 |
ActiveFedora.fedora.base_path + "/" + uri_prefix |
× |
17 |
else
|
× |
18 |
ActiveFedora.fedora.base_path
|
× |
19 |
end
|
× |
20 |
end
|
× |
21 |
end
|
× |
22 |
end
|
× |
23 |
end
|
× |