Skip to content

Commit c137a17

Browse files
committed
possible ci fixes
1 parent 9efe604 commit c137a17

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.github/workflows/rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ jobs:
2727
ruby-version: ${{ matrix.ruby }}
2828
bundler-cache: true
2929
- name: Run rubocop
30-
run: rubocop
30+
run: bundle exec rubocop

test/dummy/app/views/layouts/application.html.erb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
<head>
44
<title>Dummy</title>
55
<% if ShakapackerHelpers.available? %>
6-
<%= javascript_include_tag "turbolinks_only", "data-turbolinks-track" => true %>
76
<%= javascript_pack_tag "application" %>
87
<% elsif SprocketsHelpers.available? %>
98
<%= javascript_include_tag "application", "data-turbolinks-track" => true %>

test/react/rails/react_rails_ujs_test.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ class ReactRailsUJSTest < ActionDispatch::IntegrationTest
66
SprocketsHelpers.when_available do
77
include Capybara::DSL
88

9+
setup do
10+
Capybara.current_driver = Capybara.javascript_driver
11+
end
12+
913
# Normalize for shakapacker check:
1014
def assert_greeting(page, greeting)
1115
assert page.has_content?(greeting), <<~MSG

0 commit comments

Comments
 (0)