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

Compare the contents of AzureResourceProbe objects with eql? method #329

Merged
merged 1 commit into from
Nov 11, 2020

Conversation

omerdemirok
Copy link
Contributor

Signed-off-by: Omer Demirok odemirok@chef.io

Description

  • Compare AzureResourceProbe objects' contents with the eql? method.
    This will allow:
describe azure_virtual_machine(resource_id: '/foo/bar') do
   its('tags') { should eql({'name': 'my_VM'})
end

Issues Resolved

Fixes #326

Check List

Signed-off-by: Omer Demirok <odemirok@chef.io>
@omerdemirok omerdemirok requested a review from a team as a code owner November 10, 2020 17:24
Copy link
Contributor

@rmoles rmoles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice @omerdemirok ! This is a really valuable change and helpful for end users.

@omerdemirok omerdemirok merged commit c7c9062 into master Nov 11, 2020
@omerdemirok omerdemirok deleted the azure_resource_probe_eql branch November 11, 2020 17:31
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

Successfully merging this pull request may close these issues.

verify tags using azurerm_virtual_network
2 participants