summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy.asynk.ch>2024-09-04 20:15:22 +0200
committerJérémy Zurcher <jeremy.asynk.ch>2024-09-04 20:15:22 +0200
commitaea9ad38ec9097430787464c33f322b5239cd699 (patch)
tree744d2b3fb82c882ffffac251525a59066b24f469 /spec
parent4b65c9f02e6bc6e289ac7c660c20232bbb3fff00 (diff)
downloadzorglub-aea9ad38ec9097430787464c33f322b5239cd699.zip
zorglub-aea9ad38ec9097430787464c33f322b5239cd699.tar.gz
specs : check error 404 message
Diffstat (limited to 'spec')
-rw-r--r--spec/node_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/node_spec.rb b/spec/node_spec.rb
index 836c9cb..1e39567 100644
--- a/spec/node_spec.rb
+++ b/spec/node_spec.rb
@@ -56,6 +56,7 @@ describe Zorglub do
it 'should return err404 response when no method found' do
expect(Node0.respond_to?('noresponse')).to be_falsey
r = Node0.my_call '/noresponse'
+ expect(r[2][0]).to eq "Node0 mapped at /node0 can't respond to : noresponse"
expect(r[0]).to eq 404
end