diff --git a/src/main.rs b/src/main.rs index f879555..8b0a190 100644 --- a/src/main.rs +++ b/src/main.rs @@ -55,7 +55,7 @@ fn main() { } // Fetch config information if available - let config_contents_result = get_config_contents("./.config.yml"); + let config_contents_result = get_config_contents("./.cobalt.yml"); let yaml = if let Ok(config_contents) = config_contents_result { match parse_yaml(config_contents) { Ok(y) => { @@ -133,7 +133,7 @@ fn parse_yaml(file_contents: String) -> Result { #[test] fn get_config_contents_ok() { - let result = get_config_contents("tests/fixtures/config_example/.config.yml"); + let result = get_config_contents("tests/fixtures/config_example/.cobalt.yml"); assert!(result.is_ok()); assert!(result.unwrap().len() != 0); } diff --git a/tests/fixtures/config_example/.config.yml b/tests/fixtures/config_example/.cobalt.yml similarity index 100% rename from tests/fixtures/config_example/.config.yml rename to tests/fixtures/config_example/.cobalt.yml