Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

[RELEASE 2.1.0] #15

Merged
merged 2 commits into from
Dec 9, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion recipes/chef.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@
append_if_no_line 'add KITCHEN_LOCAL_YAML to global .bashrc' do
path '/etc/bash.bashrc'
line 'export KITCHEN_LOCAL_YAML=.kitchen.dokken.yml'
end
end
1 change: 0 additions & 1 deletion spec/unit/recipes/default_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
expect(chef_run).to does_append_if_no_line('add USE_DOKKEN to global .bashrc')
end


it 'will add KITCHEN_LOCAL_YAML env variable to all users with .bashrc file' do
expect(chef_run).to does_append_if_no_line('add KITCHEN_LOCAL_YAML to global .bashrc')
end
Expand Down
2 changes: 1 addition & 1 deletion test/smoke/default/chef_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
it { should exist }
its('content') { should match(Regexp.new(Regexp.quote('export USE_DOKKEN=true'))) }
end

describe file('/etc/bash.bashrc') do
it { should exist }
its('content') { should match(Regexp.new(Regexp.quote('export KITCHEN_LOCAL_YAML=.kitchen.dokken.yml'))) }
Expand Down