diff --git a/test/controllers/v1/learning_objects_controller_test.rb b/test/controllers/v1/learning_objects_controller_test.rb index 2841e0082131fe82932105665f9b79c1edf72702..7eaf6e2ccc17b10be97713af4dc615824860a1f5 100644 --- a/test/controllers/v1/learning_objects_controller_test.rb +++ b/test/controllers/v1/learning_objects_controller_test.rb @@ -9,7 +9,6 @@ class V1::LearningObjectsControllerTest < ActionController::TestCase tag = tags(:tag_three).name post :tagging, id: learning_objects(:user_lo).id, tag: { name: tag, owner_id: users(:jack).id, owner_type: 'User' } - p learning_objects(:user_lo).errors.full_messages assert_response :created end @@ -41,9 +40,4 @@ class V1::LearningObjectsControllerTest < ActionController::TestCase assert_response :ok end - private - - def ensure_learning_object_is_persisted!(learning_object) - learning_object.save! - end end