Skip to content

Commit eddcffe

Browse files
committed
change to better allow
1 parent 93bb3e1 commit eddcffe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spec/plans/install_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
expect_plan('peadm::subplans::install')
99
expect_plan('peadm::subplans::configure')
1010
expect(run_plan('peadm::install', 'primary_host' => 'primary', 'console_password' => 'puppetLabs123!', 'version' => '2021.7.9')).to be_ok
11-
allow_any_instance_of(Out).to receive(:message).and_return(true)
11+
allow(Out).to receive(:message).and_return(true)
1212
end
1313
end
1414
end

spec/plans/subplans/install_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
#########
2828
## <🤮>
29-
rubocop:disable AnyInstance
29+
# rubocop:disable AnyInstance
3030
allow(Tempfile).to receive(:new).and_call_original
3131
allow(Pathname).to receive(:new).and_call_original
3232
allow(Puppet::FileSystem).to receive(:exist?).and_call_original

0 commit comments

Comments
 (0)