parent
93435d27d2
commit
05d9bee4a5
5 changed files with 42 additions and 1 deletions
16
tests/modules/programs/git-credential-oauth/basic.nix
Normal file
16
tests/modules/programs/git-credential-oauth/basic.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.git-credential-oauth = { enable = true; };
|
||||
|
||||
programs.git = { enable = true; };
|
||||
|
||||
test.stubs.git-credential-oauth = { };
|
||||
|
||||
nmt.script = ''
|
||||
assertFileExists home-files/.config/git/config
|
||||
assertFileContains \
|
||||
home-files/.config/git/config \
|
||||
"${config.programs.git-credential-oauth.package}/bin/git-credential-oauth"
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue