Posts by Rafael Campos de Bastiani • 23 points
2 posts
-
1
votes1
answer95
viewsQ: Rails rspec, post error :create, params require
I’m starting rspec tests on Rubyonrails and I’m having a problem testing my controller’s create: it "creates lançamento" do post :create, params: attributes_for(:lancamento), format: :js, xhr: true…
-
1
votes0
answers84
viewsQ: VIM Ctrlp - Looking for files with the same name
I have a difficulty in using the VIM Ctrlp plugin, in case I have two files with the name "database", but Ctrlp only finds one of them as shown in the image. I am using the following setting in my .…