Skip to content

Commit 7a90c24

Browse files
committed
additional linting
1 parent 55be507 commit 7a90c24

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

react_on_rails_pro/spec/dummy/spec/system/integration_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ def change_text_expect_dom_selector(dom_selector, expect_no_change: false)
432432
"#ServerComponentRouter-react-component-0"
433433

434434
# Skip the test that fails without JavaScript - being addressed in another PR
435-
it "renders the page completely on server and displays content on client even without JavaScript",
435+
it "renders the page completely on server and displays content on client even without JavaScript", # rubocop:disable RSpec/NoExpectationExample
436436
skip: "Being addressed in another PR" do
437437
# This test is overridden to skip it
438438
end

react_on_rails_pro/spec/react_on_rails_pro/support/mock_block_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module MockBlockHelper
1010
# testing_method_taking_block(&mocked_block.block)
1111
# expect(mocked_block).to have_received(:call).with(1, 2, 3)
1212
def mock_block(&block)
13-
double("BlockMock").tap do |mock|
13+
double("BlockMock").tap do |mock| # rubocop:disable RSpec/VerifiedDoubles
1414
allow(mock).to receive(:call) do |*args, &inner_block|
1515
block&.call(*args, &inner_block)
1616
end

0 commit comments

Comments
 (0)