obsolete.ChilliProject/vendor/plugins/open_id_authentication/test/status_test.rb

15 lines
389 B
Ruby

#-- encoding: UTF-8
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