Last change
on this file since e9f5e39 was 7b7d827, checked in by njw <njw@…>, 11 years ago |
opened projects: hothotwrite and contact
|
-
Property mode
set to
100644
|
File size:
368 bytes
|
Line | |
---|
1 | require File.dirname(__FILE__) + '/../test_helper'
|
---|
2 |
|
---|
3 | class ContactgroupTest < Test::Unit::TestCase
|
---|
4 | fixtures :contactgroups
|
---|
5 |
|
---|
6 | # Replace this with your real tests.
|
---|
7 | def test_truth
|
---|
8 | assert true
|
---|
9 | end
|
---|
10 |
|
---|
11 | def test_groupname_validation
|
---|
12 | contactgroup = Contactgroup.new
|
---|
13 | assert !contactgroup.valid?
|
---|
14 | assert contactgroup.errors.invalid?(:groupname)
|
---|
15 | end
|
---|
16 | end
|
---|
Note:
See
TracBrowser
for help on using the repository browser.