Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Environment testing tasks not reporting errors correctly #43

Open
blakeneyops opened this issue Apr 11, 2017 · 1 comment
Open

Environment testing tasks not reporting errors correctly #43

blakeneyops opened this issue Apr 11, 2017 · 1 comment

Comments

@blakeneyops
Copy link
Member

The following is detecting errors during execution, but not reporting them properly.

https://github.com/unifio/covalence/blob/master/lib/covalence/rake/rspec/envs_spec.rb

The problem is that

expect(TerraformCli.terraform_plan(path, args: args)).to be true

should be

expect { TerraformCli.terraform_plan(path, args: args) }.to_not raise_error

This class was also not properly updated for changes made in the v0.6+

@yuhunglin
Copy link
Contributor

or just have both.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants