Improve code style, fix tests
This commit is contained in:
parent
85324058f4
commit
98402908b0
2 changed files with 7 additions and 12 deletions
|
@ -912,9 +912,6 @@ class NotesControllerTest < ActionController::TestCase
|
|||
end
|
||||
|
||||
def test_search_bad_params
|
||||
get :search
|
||||
assert_response :bad_request
|
||||
|
||||
get :search, :params => { :q => "no match", :limit => "0", :format => "json" }
|
||||
assert_response :bad_request
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue