Commit 09b0dbca4410de24fa276fbbf9b3ce6ba05365f9
1 parent
15b71e39
Exists in
master
and in
1 other branch
Removed specs for ProblemsController#all
Showing
2 changed files
with
1 additions
and
2 deletions
Show diff stats
config/routes.rb
| @@ -21,7 +21,6 @@ Errbit::Application.routes.draw do | @@ -21,7 +21,6 @@ Errbit::Application.routes.draw do | ||
| 21 | post :unresolve_several | 21 | post :unresolve_several |
| 22 | post :merge_several | 22 | post :merge_several |
| 23 | post :unmerge_several | 23 | post :unmerge_several |
| 24 | - get :all | ||
| 25 | get :search, :format => [:js] | 24 | get :search, :format => [:js] |
| 26 | end | 25 | end |
| 27 | end | 26 | end |
spec/controllers/problems_controller_spec.rb
| @@ -3,7 +3,7 @@ require 'spec_helper' | @@ -3,7 +3,7 @@ require 'spec_helper' | ||
| 3 | describe ProblemsController do | 3 | describe ProblemsController do |
| 4 | 4 | ||
| 5 | it_requires_authentication :for => { | 5 | it_requires_authentication :for => { |
| 6 | - :index => :get, :all => :get, :show => :get, :resolve => :put | 6 | + :index => :get, :show => :get, :resolve => :put, :search => :get |
| 7 | }, | 7 | }, |
| 8 | :params => {:app_id => 'dummyid', :id => 'dummyid'} | 8 | :params => {:app_id => 'dummyid', :id => 'dummyid'} |
| 9 | 9 |