spec/commands/installer_spec.rb in taperole-1.8.2 vs spec/commands/installer_spec.rb in taperole-2.0.0

- old
+ new

@@ -62,11 +62,11 @@ it 'creates the roles directory' do expect(taperole).to include('roles') end it 'creates the dev_keys directory' do - expect(root).to include('dev_keys') + expect(taperole).to include('dev_keys') end end describe '#uninstall' do let(:setup) do @@ -75,11 +75,11 @@ FileUtils.touch("#{Dir.pwd}/taperole/deploy.yml") FileUtils.touch("#{Dir.pwd}/taperole/tape_vars.yml") FileUtils.touch("#{Dir.pwd}/taperole/rake.yml") FileUtils.touch("#{Dir.pwd}/taperole/roles") FileUtils.touch("#{Dir.pwd}/taperole/hosts") - FileUtils.touch("#{Dir.pwd}/dev_keys") + FileUtils.touch("#{Dir.pwd}/taperole/dev_keys") FileUtils.touch("#{Dir.pwd}/Vagrantfile") end let(:command) { :uninstall } it 'removes omnibox.yml' do @@ -105,10 +105,10 @@ it 'removes hosts' do expect(taperole).to_not include('hosts') end it 'removes dev_keys' do - expect(root).to_not include('dev_keys') + expect(taperole).to_not include('dev_keys') end it 'removes Vagrantfile' do expect(root).to_not include('Vagrantfile') end