afaundez / nodenv-cookbook

Nodenv Chef Cookbook.
https://supermarket.chef.io/cookbooks/nodenv
MIT License
1 stars 4 forks source link

Git package installed test fails in fedora-26 test kitchen #5

Closed afaundez closed 6 years ago

afaundez commented 6 years ago

Running kitchen test default-fedora-26:

...
  System Package
     ∅  git should be installed
     expected that `System Package git` is installed
  File /etc/profile.d/nodenv.sh
     ✔  should exist
  Bash command
     ✔  sudo -H -u vagrant bash -c "source /etc/profile.d/nodenv.sh && nodenv global" exit_status should eq 0
     ✔  sudo -H -u vagrant bash -c "source /etc/profile.d/nodenv.sh && nodenv global" stdout should include "8.2.1"
     ✔  sudo -H -u vagrant bash -c "source /etc/profile.d/nodenv.sh && nodenv global" stdout should not match /system/

Test Summary: 4 successful, 1 failure, 0 skipped
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::ActionFailed
>>>>>> Message: 1 actions failed.
>>>>>>     Verify failed on instance <default-fedora-26>.  Please see .kitchen/logs/default-fedora-26.log for more details

But git is already installed.