diff options
| author | Jérémy Zurcher <jeremy.asynk.ch> | 2024-09-04 20:15:22 +0200 | 
|---|---|---|
| committer | Jérémy Zurcher <jeremy.asynk.ch> | 2024-09-04 20:15:22 +0200 | 
| commit | aea9ad38ec9097430787464c33f322b5239cd699 (patch) | |
| tree | 744d2b3fb82c882ffffac251525a59066b24f469 /spec | |
| parent | 4b65c9f02e6bc6e289ac7c660c20232bbb3fff00 (diff) | |
| download | zorglub-aea9ad38ec9097430787464c33f322b5239cd699.zip zorglub-aea9ad38ec9097430787464c33f322b5239cd699.tar.gz | |
specs : check error 404 message
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/node_spec.rb | 1 | 
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 | 
