Skip to content
Snippets Groups Projects
Commit 643c372c authored by Derek Lindahl's avatar Derek Lindahl
Browse files

Made failure test more explicit.

parent 8ec97aff
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,7 @@ describe OmniAuth::Strategies::CAS, :type => :strategy do
it { should be_redirect }
it "should have a failure message" do
subject.headers['Location'].should =~ /message=no_ticket/
subject.headers['Location'].should == "/auth/failure?message=no_ticket"
end
end
......@@ -50,7 +50,7 @@ describe OmniAuth::Strategies::CAS, :type => :strategy do
it { should be_redirect }
it 'should have a failure message' do
subject.headers['Location'].should =~ /message=invalid_ticket/
subject.headers['Location'].should == "/auth/failure?message=invalid_ticket"
end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment