view .svn/pristine/04/0498f22fd69f96a75cd1f1df26f11c6b9f18a2ee.svn-base @ 1578:06ca2df3d7ca dockerise

A couple of missing bits, including a test repo in the Vagrant provision
author Chris Cannam
date Fri, 04 Aug 2017 15:43:03 +0100
parents cbb26bc654de
children
line wrap: on
line source
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