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

Ensure resources are visible inside its blocks #1076

Merged
merged 1 commit into from
Sep 14, 2016
Merged

Conversation

stevendanna
Copy link
Contributor

The recent changes to provide isolated views of the available resources
was not extended to Rspec::ExampleGroups. This ensures that
ExampleGroups have access to the same resources as the enclosing
Inspec::Rule.

Signed-off-by: Steven Danna steve@chef.io

The recent changes to provide isolated views of the available resources
was not extended to Rspec::ExampleGroups. This ensures that
ExampleGroups have access to the same resources as the enclosing
Inspec::Rule.

Signed-off-by: Steven Danna <steve@chef.io>
@stevendanna stevendanna changed the title WIP: Ensure resources are visible inside its blocks Ensure resources are visible inside its blocks Sep 14, 2016
end
end.compact

examples.each { |e| @test_collector.add_test(e, rule) }
Copy link
Contributor

Choose a reason for hiding this comment

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

So cool to get this removed

@chris-rock
Copy link
Contributor

💯 Awesome work @stevendanna

@chris-rock chris-rock merged commit 1781564 into master Sep 14, 2016
@chris-rock chris-rock deleted the ssd/issue-1074 branch September 14, 2016 15:48
@chris-rock chris-rock modified the milestone: 0.35.0 Sep 14, 2016
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.

None yet

3 participants