diff options
author | Thom May <thom@chef.io> | 2016-07-20 15:22:27 +0100 |
---|---|---|
committer | Thom May <thom@chef.io> | 2016-07-20 15:22:27 +0100 |
commit | f20ac282e1eef2ca1b9838bf8c908ab0f79fae81 (patch) | |
tree | 4b862670289271db55ce69fe3ef6514553f48a31 /lib/chef/audit | |
parent | 162d988d3bcfce2773ef2831fa33e416f53731f6 (diff) | |
download | chef-f20ac282e1eef2ca1b9838bf8c908ab0f79fae81.tar.gz |
Update to rspec 3.5tm/new_world_rspec
Signed-off-by: Thom May <thom@chef.io>
Diffstat (limited to 'lib/chef/audit')
-rw-r--r-- | lib/chef/audit/runner.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/audit/runner.rb b/lib/chef/audit/runner.rb index 100a72d2e1..837346381c 100644 --- a/lib/chef/audit/runner.rb +++ b/lib/chef/audit/runner.rb @@ -165,7 +165,7 @@ class Chef add_example_group_methods run_context.audits.each do |name, group| ctl_grp = RSpec::Core::ExampleGroup.__control_group__(*group.args, &group.block) - RSpec.world.register(ctl_grp) + RSpec.world.record(ctl_grp) end end |