Commit 0ab875912d763ccdccb86d1d184b668291871893
1 parent
4b2d2fee
Exists in
master
and in
22 other branches
ActionItem8: testing a little more on profile name format
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@23 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
5 additions
and
1 deletions
Show diff stats
test/unit/profile_test.rb
| ... | ... | @@ -16,9 +16,13 @@ class ProfileTest < Test::Unit::TestCase |
| 16 | 16 | p.valid? |
| 17 | 17 | assert p.errors.invalid?(:identifier) |
| 18 | 18 | |
| 19 | - p.identifier = 'right_format' | |
| 19 | + p.identifier = 'rightformat' | |
| 20 | 20 | p.valid? |
| 21 | 21 | assert ! p.errors.invalid?(:identifier) |
| 22 | 22 | |
| 23 | + p.identifier = 'right_format' | |
| 24 | + p.valid? | |
| 25 | + assert ! p.errors.invalid?(:identifier) | |
| 23 | 26 | end |
| 27 | + | |
| 24 | 28 | end | ... | ... |