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