summaryrefslogtreecommitdiffstats
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2023-03-19 12:33:04 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2023-03-19 12:33:04 +0100
commitbbdd0e0de0d24a962a6452d31dc26936bea1f958 (patch)
tree46fa7d2032e4b87f80ddd72bda444efc7944a99c /spec/spec_helper.rb
parentb56a4a8f934f7ed9d3e7d19a4d3335738ca9ffad (diff)
downloadzorglub-bbdd0e0de0d24a962a6452d31dc26936bea1f958.zip
zorglub-bbdd0e0de0d24a962a6452d31dc26936bea1f958.tar.gz
rack response.header -> response.headers
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r--spec/spec_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 40fb924..9b2c452 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -68,7 +68,7 @@ class Node0 < Zorglub::Node
end
def do_content_type
engine! 'real'
- response.header['Content-Type'] = 'text/mine'
+ response.headers['Content-Type'] = 'text/mine'
end
def do_partial a1, a2
engine! 'real'