[ENH] Add tests #39

Merged
qo-op merged 16 commits from make_it into master 2022-06-26 21:40:44 +02:00
1 changed files with 3 additions and 3 deletions
Showing only changes of commit ead1ba7a57 - Show all commits

View File

@ -3,15 +3,15 @@
Describe 'AstrXbian' Describe 'AstrXbian'
Describe 'install()' Describe 'install()'
Include ./include.sh Include ./include.sh
It 'should be me' It 'should check it applies to me'
When call i_am When call i_am
The output should eq 'v0.4' The output should eq 'v0.4'
End End
It 'should not be superuser' It 'should check I am not superuser'
When call i_am_root When call i_am_root
The status should not be success The status should not be success
End End
It 'should allow install' It 'should check I allow install'
When call i_should_install When call i_should_install
The status should be success The status should be success
End End