travis-ci
68 of 68 new or added lines in 2 files covered. (100.0%)
396 of 3344 relevant lines covered (11.84%)
0.12 hits per line
1 |
class NilFcrepoEndpoint < NilEndpoint |
× |
2 |
def switch! |
× |
3 |
ActiveFedora::Fedora.register(options) |
× |
4 |
end
|
× |
5 |
|
× |
6 |
def url |
× |
7 |
'Fcrepo not initialized'
|
× |
8 |
end
|
× |
9 |
|
× |
10 |
def base_path |
× |
11 |
'Fcrepo not initialized'
|
× |
12 |
end
|
× |
13 |
|
× |
14 |
private |
× |
15 |
|
× |
16 |
def options |
× |
17 |
{ url: 'http://127.0.0.1:99999/nil_fcrepo_endpoint' } |
× |
18 |
end
|
× |
19 |
end
|
× |