refactored search
This commit is contained in:
@@ -35,7 +35,7 @@ class NoteVersionsControllerTest < ActionController::TestCase
|
||||
end
|
||||
|
||||
should "list all versions that match the search criteria" do
|
||||
get :index, {:search => {:updater_id_equals => @user_2.id}}
|
||||
get :index, {:search => {:updater_id => @user_2.id}}
|
||||
assert_response :success
|
||||
assert_not_nil(assigns(:note_versions))
|
||||
assert_equal(1, assigns(:note_versions).size)
|
||||
|
||||
Reference in New Issue
Block a user