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