diff --git a/test/controllers/posts_controller_test.rb b/test/controllers/posts_controller_test.rb index 48f8315..376c740 100644 --- a/test/controllers/posts_controller_test.rb +++ b/test/controllers/posts_controller_test.rb @@ -107,7 +107,7 @@ class PostsControllerTest < ActionDispatch::IntegrationTest params: { post: { image: { - path: fixture_file_upload('files/logo.png', 'image/png'), + path: fixture_file_upload('logo.png', 'image/png'), description: 'hola' } } @@ -132,7 +132,7 @@ class PostsControllerTest < ActionDispatch::IntegrationTest params: { post: { image: { - path: fixture_file_upload('files/_logo.png', 'image/png'), + path: fixture_file_upload('_logo.png', 'image/png'), description: 'hola' } }