travis-ci
367 of 3023 relevant lines covered (12.14%)
0.13 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
|
× |