Skip to content

error when TGT not found in database? #4

@ghost

Description

Is this spec supposed to pass?

it "returns a Ticket that is valid when it cannot find a TGT" do
TicketGrantingTicket.stub!(:find_by_ticket).return(nil)
TicketGrantingTicket.validate_cookie(’abc’).should be_valid
end

I would think it shouldn’t be valid, but when you add this spec for TGT, it passes.

original LH ticket

This ticket has 0 attachment(s).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions