File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 23
23
expect ( response ) . to redirect_to root_url
24
24
expect ( response . status ) . to eq 302
25
25
end
26
+
27
+ # /signup page has Google Form to be rendered.
28
+ context 'signup page - Google Form rendering (Critical)' do
29
+ before { get doc_path ( 'signup' ) }
30
+
31
+ # The iframe is essential - without it, no one can submit applications
32
+ it ( 'responds with 200 OK' ) { expect ( response ) . to have_http_status ( :success ) }
33
+ it ( 'contains Google Forms' ) { expect ( response . body ) . to include ( '<iframe' ) }
34
+ it ( 'contains Google Forms URL' ) { expect ( response . body ) . to include ( 'docs.google.com/forms' ) }
35
+ it ( 'has no raw CONSTANT name' ) { expect ( response . body ) . not_to include ( '{{ INACTIVE_THRESHOLD }}' ) }
36
+ end
26
37
end
27
- end
38
+ end
You can’t perform that action at this time.
0 commit comments