@@ -227,7 +227,7 class WikiControllerTest < ActionController::TestCase | |||||
227 | Role.find(1).remove_permission!(:protect_wiki_pages) |
|
227 | Role.find(1).remove_permission!(:protect_wiki_pages) | |
228 | @request.session[:user_id] = 2 |
|
228 | @request.session[:user_id] = 2 | |
229 |
|
229 | |||
230 |
post :new, |
|
230 | post :new, :project_id => 'ecookbook', :title => 'Sidebar' | |
231 | assert_response :success |
|
231 | assert_response :success | |
232 | assert_select_error /Title/ |
|
232 | assert_select_error /Title/ | |
233 | end |
|
233 | end |
General Comments 0
You need to be logged in to leave comments.
Login now