diff options
author | Louise Crow <louise.crow@gmail.com> | 2013-06-26 12:05:55 -0700 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-06-26 12:05:55 -0700 |
commit | 9452a2e5fffd35be383250ada139b349a5866acb (patch) | |
tree | 1a894ade4026a294fbfd41b48eb73907135d1338 /spec/controllers/general_controller_spec.rb | |
parent | 0d9de53bdccf20cc2884f0ad896d5e9dd2edee03 (diff) |
Revert "Assume that format will be specified in the url requested, or default to HTML. Fixes #989."
This reverts commit c1b3324922687778b316ee1a180582013bcf6d0e.
Diffstat (limited to 'spec/controllers/general_controller_spec.rb')
-rw-r--r-- | spec/controllers/general_controller_spec.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/spec/controllers/general_controller_spec.rb b/spec/controllers/general_controller_spec.rb index 61d847cec..0eda73c51 100644 --- a/spec/controllers/general_controller_spec.rb +++ b/spec/controllers/general_controller_spec.rb @@ -349,10 +349,4 @@ describe GeneralController, 'when using xapian search' do response.body.should include('Track this search') end - it 'should ignore an odd ACCEPTS header' do - request.env['HTTP_ACCEPT'] = '*/*;q=0.01' - get :search, :combined => '"fancy dog"' - response.should be_success - end - end |