Posts by Gustavo Cunha • 26 points
1 post
-
1
votes1
answer95
viewsA: Rails rspec, post error :create, params require
Makes post :create, params: { lancamento: attributes_for(:lancamento) }, format: :js, xhr: true and should solve your problem. And as a suggestion, no program in Portuguese. Reasons:…