Skip to content

Commit

Permalink
Rubocop fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lacostej committed Nov 23, 2023
1 parent 8a0a740 commit 4b651ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scan/spec/error_handler_spec.rb
Expand Up @@ -21,7 +21,7 @@
output = File.open('./scan/spec/fixtures/non_parallel_testing_failure.log', &:read)
expect do
Scan::ErrorHandler.handle_build_error(output, log_path)
end.to_not raise_error
end.to_not(raise_error)
end
end

Expand Down
2 changes: 1 addition & 1 deletion spaceship/spec/tunes/device_type_spec.rb
Expand Up @@ -4,7 +4,7 @@
# let's catch those calls to avoid polluting the output
# Note: warning has a different signature in newer versions of ruby
allow(Warning).to receive(:warn).with(/Spaceship::Tunes::DeviceType has been deprecated./)
allow(Warning).to receive(:warn).with(/Spaceship::Tunes::DeviceType has been deprecated./, {:category=>nil})
allow(Warning).to receive(:warn).with(/Spaceship::Tunes::DeviceType has been deprecated./, { category: nil })
end

it "should be checkable using singleton functions" do
Expand Down

0 comments on commit 4b651ad

Please sign in to comment.