File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -65,17 +65,17 @@ def around(example)
6565
6666 csp_config = SecureHeaders ::Configuration . instance_variable_get ( :@default_config ) . csp
6767
68- connect_src = csp_config . connect_src . dup
69- form_action = csp_config . form_action . dup
68+ connect_src = csp_config [ : connect_src] . dup
69+ form_action = csp_config [ : form_action] . dup
7070
7171 begin
72- csp_config . connect_src << "test-bucket.s3.amazonaws.com"
73- csp_config . form_action << "test-bucket.s3.amazonaws.com"
72+ csp_config [ : connect_src] << "test-bucket.s3.amazonaws.com"
73+ csp_config [ : form_action] << "test-bucket.s3.amazonaws.com"
7474
7575 example . run
7676 ensure
77- csp_config . connect_src = connect_src
78- csp_config . form_action = form_action
77+ csp_config [ : connect_src] = connect_src
78+ csp_config [ : form_action] = form_action
7979 end
8080 end
8181
You can’t perform that action at this time.
0 commit comments