I'd be specific about the error, because it could be an unexpected error:

```ruby
expect {subject.aws_config}.to raise_error(Config::MissingConfig)

```