Skip to content
This repository was archived by the owner on Oct 27, 2022. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions test/config_tests.erl
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,6 @@ config_get_test_() ->
fun teardown/1,
[
fun should_load_all_configs/0,
fun should_locate_daemons_section/0,
fun should_locate_mrview_handler/0,
fun should_return_undefined_atom_on_missed_section/0,
fun should_return_undefined_atom_on_missed_option/0,
fun should_return_custom_default_value_on_missed_option/0,
Expand Down Expand Up @@ -303,15 +301,6 @@ should_load_all_configs() ->
?assert(length(config:all()) > 0).


should_locate_daemons_section() ->
?assert(length(config:get("daemons")) > 0).


should_locate_mrview_handler() ->
Expect = "{couch_mrview_http, handle_view_req}",
?assertEqual(Expect, config:get("httpd_design_handlers", "_view")).


should_return_undefined_atom_on_missed_section() ->
?assertEqual(undefined, config:get("foo", "bar")).

Expand Down