From aea9ad38ec9097430787464c33f322b5239cd699 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Wed, 4 Sep 2024 20:15:22 +0200 Subject: specs : check error 404 message --- spec/node_spec.rb | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.1-2-g2b99