Skip to content

Commit ed50b79

Browse files
authored
Remove leftover jQuery code from test environment (#2905)
Fixes #2902
1 parent fdd3164 commit ed50b79

File tree

2 files changed

+0
-14
lines changed

2 files changed

+0
-14
lines changed

app/views/administrate/application/_javascript.html.erb

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,3 @@ by providing a `content_for(:javascript)` block.
1212
<% end %>
1313

1414
<%= yield :javascript %>
15-
16-
<% if Rails.env.test? %>
17-
<%= javascript_tag do %>
18-
$.fx.off = true;
19-
$.ajaxSetup({ async: false });
20-
<% end %>
21-
<% end %>

spec/example_app/app/views/application/_javascript.html.erb

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,3 @@
33
<% end %>
44

55
<%= yield :javascript %>
6-
7-
<% if Rails.env.test? %>
8-
<%= javascript_tag do %>
9-
$.fx.off = true;
10-
$.ajaxSetup({ async: false });
11-
<% end %>
12-
<% end %>

0 commit comments

Comments
 (0)