Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 081e33c

Browse files
linting
1 parent fd4624b commit 081e33c

File tree

5 files changed

+5
-2
lines changed

5 files changed

+5
-2
lines changed

‎test/dummy/config/initializers/backtrace_silencers.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# frozen_string_literal: true
2+
23
# Be sure to restart your server when you modify this file.
34

45
# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.

‎test/dummy/config/initializers/inflections.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# frozen_string_literal: true
2+
23
# Be sure to restart your server when you modify this file.
34

45
# Add new inflection rules using the following format. Inflections

‎test/dummy/config/initializers/mime_types.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# frozen_string_literal: true
2+
23
# Be sure to restart your server when you modify this file.
34

45
# Add new mime types for use in respond_to blocks:

‎test/react/jsx_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
STR
2323

2424
class NullTransformer
25-
def initialize(_options = {}); end # rubocop:disable-line Style/RedundantInitialize
25+
def initialize(_options = {}); end # rubocop:disable Style/RedundantInitialize
2626

2727
def transform(_code)
2828
"TRANSFORMED CODE!;\n"

‎test/react/rails/controller_lifecycle_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def teardown
4141
get "/pages/1"
4242
helper_obj = controller.__react_component_helper
4343

44-
assert(helper_obj.is_a?(DummyHelperImplementation), "It uses the view helper implementation diff-10cd730d2cb1fc009566513e75ba58d1dfa9b27f42b6e91da76091194c244a28-44-44-0" data-selected="false" role="gridcell" tabindex="-1">
44+
assert_kind_of(DummyHelperImplementation,helper_obj, "It uses the view helper implementation class")
4545
end
4646

4747
test "it calls setup and teardown methods" do

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /