| Petr Michalec | 10462bb | 2017-03-23 19:18:08 +0100 | [diff] [blame] | 1 | |
| 2 | describe file('/etc/profile.d/salt_profile_vi_flavors.sh') do | ||||
| 3 | it('should exist') | ||||
| 4 | its('content') { should match /EDITOR=vim/ } | ||||
| 5 | its('content') { should match /PAGER=view/ } | ||||
| 6 | its('content') { should match /alias vi=vim/ } | ||||
| 7 | end | ||||
| 8 | |||||
| 9 | describe file('/etc/profile.d/salt_profile_locales.sh') do | ||||
| 10 | it('should exist') | ||||
| 11 | its('content') { should match /LANG=en_US/ } | ||||
| 12 | end | ||||
| 13 | |||||
| 14 | describe file('/etc/profile.d/prompt.sh') do | ||||
| 15 | it('should exist') | ||||
| 16 | end | ||||
| 17 | |||||