Skip to content

Commit

Permalink
Improve specs
Browse files Browse the repository at this point in the history
  • Loading branch information
pgeraghty committed Sep 26, 2019
1 parent 67a9053 commit 9eff42f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/ansible/playbook_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ module Ansible
end

it 'raises an error upon a fatal outcome (unreachable node)' do
expect { Playbook.stream('-c ssh -i localhost.does_not_exist, spec/fixtures/fail_playbook.yml') { |l| next } }.to raise_exception(Playbook::Exception, (/FAILED/ && /fatal/ && /UNREACHABLE/))
expect { Playbook.stream('-c ssh -i does_not_exist, spec/fixtures/fail_playbook.yml') { |l| next } }.to raise_exception(Playbook::Exception, (/FAILED/ && /fatal/ && /UNREACHABLE/))
end

pending 'test ignore_failures is skipped' do
Expand Down

0 comments on commit 9eff42f

Please sign in to comment.