[TEST] fixed cat/allocation REST tests

This commit is contained in:
Luca Cavanna 2014-02-07 18:22:07 +01:00
parent 8d98dbead0
commit 8ef82f9bdf
1 changed files with 14 additions and 7 deletions

View File

@ -37,7 +37,8 @@ setup:
\d+ \s+
[-\w.]+ \s+
\d+(\.\d+){3} \s+
\w[-\w ]* \n
\w[-\w ]* \s+
\n
)+
$/
@ -66,7 +67,8 @@ setup:
\d+ \s+
[-\w.]+ \s+
\d+(\.\d+){3} \s+
\w[-\w ]* \n
\w[-\w ]* \s+
\n
)+
(
\d+ \s+
@ -92,7 +94,8 @@ setup:
\d+ \s+
[-\w.]+ \s+
\d+(\.\d+){3} \s+
[-\w ]+ \n
[-\w ]+ \s+
\n
)
$/
@ -131,7 +134,8 @@ setup:
\d+ \s+
[-\w.]+ \s+
\d+(\.\d+){3} \s+
[-\w ]+ \n
[-\w ]+ \s+
\n
)*
$/
@ -146,7 +150,8 @@ setup:
$body: >
/^
( \d+ \s+
\w[-\w ]* \n
\w[-\w ]* \s+
\n
)+
$/
@ -163,7 +168,8 @@ setup:
\n
(
\s+\d+ \s+
\w[-\w ]* \n
\w[-\w ]* \s+
\n
)+
$/
@ -186,7 +192,8 @@ setup:
\d+ \s+
[-\w.]+ \s+
\d+(\.\d+){3} \s+
\w[-\w ]* \n
\w[-\w ]* \s+
\n
)+
$/