diff --git a/test/configuration_test.rb b/test/configuration_test.rb index 2431076..2161b72 100644 --- a/test/configuration_test.rb +++ b/test/configuration_test.rb @@ -14,4 +14,11 @@ def test_loads_config_file assert config.type end + def test_throws_error_with_invalid_user_type + config = GithubBackup::Configuration.new + assert_raise ArgumentError do + config.user_type = 'something weird' + end + end + end \ No newline at end of file