Added test against alternate default URL

This commit is contained in:
Joshua Sherman 2014-01-11 19:33:34 -05:00
parent 36d86100f9
commit 74611b9e74
2 changed files with 10 additions and 2 deletions

View file

@ -69,7 +69,7 @@ class API_Gravatar
}
elseif (!in_array($rating, array('g', 'pg', 'r', 'x')))
{
throw new Exception('Invalid rating perameter, expecting g, pg, r or x.');
throw new Exception('Invalid rating parameter, expecting g, pg, r or x.');
}
else
{