You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The google_container_cluster method has_logging_enabled? reports false because its not matching "logging.googleapis.com" where the resource is sending "logging.googleapis.com/kubernetes" instead.
Here's the output of my testing:
✔ logging_service should not equal nil
× logging_service should equal "logging.googleapis.com"
expected #<String:83861140> => "logging.googleapis.com"
got #<String:66556320> => "logging.googleapis.com/kubernetes"
Compared using equal?, which compares object identity,
but expected and actual are not the same object. Use
`expect(actual).to eq(expected)` if you don't care about
object identity in this example.
× has_logging_enabled? should not equal false
expected not #<FalseClass:0> => false
got #<FalseClass:0> => false
Compared using equal?, which compares object identity.
The text was updated successfully, but these errors were encountered:
slevenick
added a commit
to slevenick/inspec-gcp
that referenced
this issue
Apr 3, 2019
The google_container_cluster method
has_logging_enabled?
reports false because its not matching "logging.googleapis.com" where the resource is sending "logging.googleapis.com/kubernetes" instead.Here's the output of my testing:
The text was updated successfully, but these errors were encountered: