Sha256: 6625e6c3f6d981914247c7210546c45d87e626937654bcb50b6d97a1c8b8ab12
Contents?: true
Size: 534 Bytes
Versions: 1
Compression:
Stored size: 534 Bytes
Contents
require File.dirname(__FILE__) + '/test_helper.rb' module Passport class PassportTest < ActiveSupport::TestCase context "Passport context" do setup do get '/', :authentication_type => "user" end should "have an authentication type in the session" do assert last_response.ok? assert_equal 'Hello World', last_response.body assert_equal "user", Passport.authentication_type end teardown do Passport.clear end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
passport-0.1.1 | test/test_passport.rb |