diff options
author | Thom May <thom@may.lt> | 2016-07-21 09:40:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-21 09:40:55 +0100 |
commit | 61aaefc3e64f0e090c5c46942f5ead229dee2d59 (patch) | |
tree | 4d34ff4ed2bd95291f7cb1efb8f23f1973edd695 /lib | |
parent | 2bcd336e481ea7afde5a072fdb657afb0fb5e6b3 (diff) | |
parent | f20ac282e1eef2ca1b9838bf8c908ab0f79fae81 (diff) | |
download | chef-61aaefc3e64f0e090c5c46942f5ead229dee2d59.tar.gz |
Merge pull request #5126 from chef/tm/new_world_rspec
Update to rspec 3.5
Diffstat (limited to 'lib')
-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 |