Commit 5fa4159176eab712f9910cfa543861c14a968a78
Committed by
Victor Costa
1 parent
53d99492
Exists in
staging
and in
4 other branches
Change tasks filter of 'get' to 'post' for a clean url
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
app/views/tasks/index.html.erb
test/functional/tasks_controller_test.rb
... | ... | @@ -50,7 +50,7 @@ class TasksControllerTest < ActionController::TestCase |
50 | 50 | login_as profile_admin.identifier |
51 | 51 | |
52 | 52 | #Perform a http request to 'search_task' action with params |
53 | - get :search_tasks, :filter_type =>'ModerateUserRegistration', :filter_text => 'Fak' | |
53 | + post :search_tasks, :filter_type =>'ModerateUserRegistration', :filter_text => 'Fak' | |
54 | 54 | |
55 | 55 | assert_response :success |
56 | 56 | ... | ... |