Skip to content

Commit

Permalink
Fix docs
Browse files Browse the repository at this point in the history
Signed-off-by: Omer Demirok <odemirok@chef.io>
  • Loading branch information
Omer Demirok authored and Stuart Paterson committed Sep 8, 2020
1 parent 7373017 commit 3dd18e9
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions docs/resources/azure_generic_resource.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,7 @@ end
```ruby
describe azure_generic_resource(resource_provider: 'Microsoft.DevTestLab/labs', resource_path: '{labName}/virtualmachines', resource_group: 'my_group', name: 'my_VM') do
its('properties.userName') { should cmp 'admin' }
end
```
```ruby
azure_generic_resources(resource_provider: 'Microsoft.DevTestLab/labs', resource_path: '{labName}/virtualmachines', resource_group: 'my_group').ids.each do |id|
describe azure_generic_resource(resource_id: id) do
its('properties.allowClaim') { should cmp false }
end
its('properties.allowClaim') { should cmp false }
end
```
For more examples, please see the [integration tests](/test/integration/verify/controls/azure_generic_resource.rb).
Expand Down

0 comments on commit 3dd18e9

Please sign in to comment.