To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / .svn / pristine / 04 / 0498f22fd69f96a75cd1f1df26f11c6b9f18a2ee.svn-base @ 912:5e80956cc792

History | View | Annotate | Download (369 Bytes)

1 909:cbb26bc654de Chris
require File.dirname(__FILE__) + '/test_helper'
2
3
class StatusTest < Test::Unit::TestCase
4
  include OpenIdAuthentication
5
6
  def test_state_conditional
7
    assert Result[:missing].missing?
8
    assert Result[:missing].unsuccessful?
9
    assert !Result[:missing].successful?
10
11
    assert Result[:successful].successful?
12
    assert !Result[:successful].unsuccessful?
13
  end
14
end