Skip to content
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
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -794,11 +794,6 @@ CLI directly rather than via a stack update.
applied in CloudFormation. This can happen if the template or computed parameters have changed in code and the change
hasn't been applied to this stack.

## Maintainers

- [Steve Hodgkiss](https://github.com/stevehodgkiss)
- [Glen Stampoultzis](https://github.com/gstamp)

## License

StackMaster uses the MIT license. See [LICENSE.txt](https://github.com/envato/stack_master/blob/master/LICENSE.txt) for details.
Expand Down
4 changes: 2 additions & 2 deletions spec/stack_master/parameter_resolvers/one_password_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
before do
ENV['OP_SESSION_something'] = 'session'
end

it 'we return an error' do
allow_any_instance_of(described_class).to receive(:`).with("op --version").and_raise(Errno::ENOENT)
expect { resolver.resolve(the_password) }.to raise_error(StackMaster::ParameterResolvers::OnePassword::OnePasswordBinaryNotFound, "The op cli needs to be installed and in the PATH, No such file or directory")
Expand All @@ -158,7 +158,7 @@
it 'we return an error' do
allow_any_instance_of(described_class).to receive(:`).with("op --version").and_return(true)
allow_any_instance_of(described_class).to receive(:`).with("op get item --vault='Shared' 'password title' 2>&1").and_return('{key: value }')
expect { resolver.resolve(the_password) }.to raise_error(StackMaster::ParameterResolvers::OnePassword::OnePasswordInvalidResponse, /Failed to parse JSON returned, {key: value }:.* unexpected token at '{key: value }'/)
expect { resolver.resolve(the_password) }.to raise_error(StackMaster::ParameterResolvers::OnePassword::OnePasswordInvalidResponse, /Failed to parse JSON returned, {key: value }:/)
end
end
end
Expand Down