summaryrefslogtreecommitdiffstats
path: root/spec/spec_helper.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2024-08-20 14:52:53 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2024-08-20 14:52:53 +0200
commit1d1f9dfee89883faefa2059378446dd8f2530d2c (patch)
treeeca65e70e5d1bf9e0a38b524b56ddfbfec609541 /spec/spec_helper.rb
parentff067376c0df5d69dded09b90f668b9ec02484ec (diff)
downloadzorglub-1d1f9dfee89883faefa2059378446dd8f2530d2c.zip
zorglub-1d1f9dfee89883faefa2059378446dd8f2530d2c.tar.gz
fix specs
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 4a323c9..a9415df 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -46,7 +46,7 @@ class Zorglub::Node
end
def self.my_call_i(uri)
- call({ 'PATH_INFO' => uri }).body[0].to_i
+ call({ 'PATH_INFO' => uri })[2][0].to_i
end
end