Browse files

Removed left over gzip response test.

If this is needed, I'll gladly accept a Pull Request.
  • Loading branch information...
1 parent b147e9a commit bf8dcbc25e252062fd1adbe23df9201cf81ef9f1 Derek Lindahl committed Nov 4, 2012
Showing with 0 additions and 18 deletions.
  1. +0 −18 spec/omniauth/strategies/cas_spec.rb
View
18 spec/omniauth/strategies/cas_spec.rb
@@ -143,22 +143,4 @@ def app
end
end
- # unless RUBY_VERSION =~ /^1\.8\.\d$/
- # describe 'GET /auth/cas/callback with a valid ticket and gzipped response from the server on ruby >1.8' do
- # before do
- # zipped = StringIO.new
- # Zlib::GzipWriter.wrap zipped do |io|
- # io.write File.read(File.join(File.dirname(__FILE__), '..', '..', 'fixtures', 'cas_success.xml'))
- # end
- # stub_request(:get, /^https:\/\/cas.example.org(:443)?\/serviceValidate\?([^&]+&)?ticket=593af/).
- # with { |request| @request_uri = request.uri.to_s }.
- # to_return(:body => zipped.string, :headers => { 'content-encoding' => 'gzip' })
- # get '/auth/cas/callback?ticket=593af'
- # end
- #
- # it 'should call through to the master app when response is gzipped' do
- # last_response.body.should == 'true'
- # end
- # end
- # end
end

0 comments on commit bf8dcbc

Please sign in to comment.