spec/omniauth/strategies/cas_spec.rb in omniauth-cas-0.0.6 vs spec/omniauth/strategies/cas_spec.rb in omniauth-cas-0.0.7

- old
+ new

@@ -48,11 +48,11 @@ subject { last_response } it { should be_redirect } it "should have a failure message" do - subject.headers['Location'].should == "/auth/failure?message=no_ticket" + subject.headers['Location'].should == "/auth/failure?message=no_ticket&strategy=cas" end end describe 'GET /auth/cas/callback with an invalid ticket' do before do @@ -63,10 +63,10 @@ subject { last_response } it { should be_redirect } it 'should have a failure message' do - subject.headers['Location'].should == "/auth/failure?message=invalid_ticket" + subject.headers['Location'].should == "/auth/failure?message=invalid_ticket&strategy=cas" end end describe 'GET /auth/cas/callback with a valid ticket' do let(:return_url) { "http://127.0.0.10/?some=parameter" } \ No newline at end of file