Mercurial > hg > soundsoftware-site
annotate .svn/pristine/04/0498f22fd69f96a75cd1f1df26f11c6b9f18a2ee.svn-base @ 909:cbb26bc654de redmine-1.3
Update to Redmine 1.3-stable branch (Redmine SVN rev 8964)
author | Chris Cannam |
---|---|
date | Fri, 24 Feb 2012 19:09:32 +0000 |
parents | |
children |
rev | line source |
---|---|
Chris@909 | 1 require File.dirname(__FILE__) + '/test_helper' |
Chris@909 | 2 |
Chris@909 | 3 class StatusTest < Test::Unit::TestCase |
Chris@909 | 4 include OpenIdAuthentication |
Chris@909 | 5 |
Chris@909 | 6 def test_state_conditional |
Chris@909 | 7 assert Result[:missing].missing? |
Chris@909 | 8 assert Result[:missing].unsuccessful? |
Chris@909 | 9 assert !Result[:missing].successful? |
Chris@909 | 10 |
Chris@909 | 11 assert Result[:successful].successful? |
Chris@909 | 12 assert !Result[:successful].unsuccessful? |
Chris@909 | 13 end |
Chris@909 | 14 end |