File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 27
27
ruby-version : ${{ matrix.ruby }}
28
28
bundler-cache : true
29
29
- name : Run rubocop
30
- run : rubocop
30
+ run : bundle exec rubocop
Original file line number Diff line number Diff line change 3
3
< head >
4
4
< title > Dummy</ title >
5
5
<% if ShakapackerHelpers . available? %>
6
- <%= javascript_include_tag "turbolinks_only" , "data-turbolinks-track" => true %>
7
6
<%= javascript_pack_tag "application" %>
8
7
<% elsif SprocketsHelpers . available? %>
9
8
<%= javascript_include_tag "application" , "data-turbolinks-track" => true %>
Original file line number Diff line number Diff line change @@ -6,6 +6,10 @@ class ReactRailsUJSTest < ActionDispatch::IntegrationTest
6
6
SprocketsHelpers . when_available do
7
7
include Capybara ::DSL
8
8
9
+ setup do
10
+ Capybara . current_driver = Capybara . javascript_driver
11
+ end
12
+
9
13
# Normalize for shakapacker check:
10
14
def assert_greeting ( page , greeting )
11
15
assert page . has_content? ( greeting ) , <<~MSG
You can’t perform that action at this time.
0 commit comments