diff options
author | Pete Higgins <pete@peterhiggins.org> | 2020-07-15 11:25:29 -0700 |
---|---|---|
committer | Pete Higgins <pete@peterhiggins.org> | 2020-07-15 11:25:29 -0700 |
commit | 35dba09fdbb12b479b366d0e6a5252566fa47af8 (patch) | |
tree | 6f22d2284f936b1fd2fab1acd31d4c4a5cc261ee /spec/support | |
parent | dab3d44e36ba9dc9907085feb95275f3fd1952eb (diff) | |
download | chef-35dba09fdbb12b479b366d0e6a5252566fa47af8.tar.gz |
Remove a deprecated use of `.ordered` on an `allow` expectation.raise-on-raise_error
Signed-off-by: Pete Higgins <pete@peterhiggins.org>
Diffstat (limited to 'spec/support')
-rw-r--r-- | spec/support/shared/unit/application_dot_d.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/spec/support/shared/unit/application_dot_d.rb b/spec/support/shared/unit/application_dot_d.rb index 398ff74d8a..a1606b4ff3 100644 --- a/spec/support/shared/unit/application_dot_d.rb +++ b/spec/support/shared/unit/application_dot_d.rb @@ -41,7 +41,6 @@ shared_examples_for "an application that loads a dot d" do expect(IO).to receive(:read).with(Pathname.new("#{client_d_dir}/00-foo.rb").cleanpath.to_s).and_return("foo 0") expect(IO).to receive(:read).with(Pathname.new("#{client_d_dir}/01-bar.rb").cleanpath.to_s).and_return("bar 0") expect(IO).to receive(:read).with(Pathname.new("#{client_d_dir}/02-strings.rb").cleanpath.to_s).and_return("strings 0") - allow(app).to receive(:apply_config).with(anything, Chef::Config.platform_specific_path("/etc/chef/client.rb")).and_call_original.ordered expect(app).to receive(:apply_config).with("foo 0", Pathname.new("#{client_d_dir}/00-foo.rb").cleanpath.to_s).and_call_original.ordered expect(app).to receive(:apply_config).with("bar 0", Pathname.new("#{client_d_dir}/01-bar.rb").cleanpath.to_s).and_call_original.ordered expect(app).to receive(:apply_config).with("strings 0", Pathname.new("#{client_d_dir}/02-strings.rb").cleanpath.to_s).and_call_original.ordered |