forked from fixin.me/fixin.me
Hide page only during tests
This commit is contained in:
parent
ef825728ac
commit
afc4f5cee0
@ -5,9 +5,8 @@
|
||||
link during this period, request will be sent outside of Turbo, resulting in
|
||||
e.g. stream request sent as HTML instead of TURBO_STREAM.
|
||||
Content is shown on 'turbo:load' event.
|
||||
TODO: hide only in TEST environment?
|
||||
-->
|
||||
<html style="visibility: hidden;">
|
||||
<html<%= ' style="visibility: hidden;"' if Rails.env.test? -%>>
|
||||
<head>
|
||||
<title>fixin.me</title>
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
|
Loading…
x
Reference in New Issue
Block a user