File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 2626
2727 #########
2828 ## <🤮>
29- # rubocop:disable AnyInstance
29+ # rubocop:disable RSpec/ 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
4040 allow_any_instance_of ( BoltSpec ::Plans ::MockExecutor ) . to receive ( :module_file_id ) . with ( '/mock' ) . and_return ( '/mock' )
4141
4242 allow_upload ( '/mock' )
43- # rubocop:enable AnyInstance
43+ # rubocop:enable RSpec/ AnyInstance
4444 ## </🤮>
4545 ##########
4646 end
Original file line number Diff line number Diff line change 1515
1616 #########
1717 ## <🤮>
18- # rubocop:disable AnyInstance
18+ # rubocop:disable RSpec/ AnyInstance
1919 allow ( Pathname ) . to receive ( :new ) . and_call_original
2020 allow ( Puppet ::FileSystem ) . to receive ( :exist? ) . and_call_original
2121 allow_any_instance_of ( BoltSpec ::Plans ::MockExecutor ) . to receive ( :module_file_id ) . and_call_original
3636 Bolt ::ResultSet . new ( results )
3737 end
3838
39- # rubocop:enable AnyInstance
39+ # rubocop:enable RSpec/ AnyInstance
4040 ## </🤮>
4141 ##########
4242
You can’t perform that action at this time.
0 commit comments