diff --git a/spec/controllers/user_controller_spec.rb b/spec/controllers/user_controller_spec.rb index 4332746e..3b5b2ec3 100644 --- a/spec/controllers/user_controller_spec.rb +++ b/spec/controllers/user_controller_spec.rb @@ -93,7 +93,7 @@ describe UserController, type: :controller do subject { patch :update, params: { user: avatar_params } } let(:avatar_params) do { - profile_picture: fixture_file_upload("files/banana_racc.jpg", "image/jpeg") + profile_picture: fixture_file_upload("banana_racc.jpg", "image/jpeg") } end @@ -168,7 +168,7 @@ describe UserController, type: :controller do subject { patch :update, params: { user: header_params } } let(:header_params) do { - profile_header: fixture_file_upload("files/banana_racc.jpg", "image/jpeg") + profile_header: fixture_file_upload("banana_racc.jpg", "image/jpeg") } end