From 636e72a71c026c12e18b60ce9b41da756f23fa70 Mon Sep 17 00:00:00 2001 From: Leandro Matioli Date: Thu, 1 Apr 2021 16:41:55 -0300 Subject: [PATCH] Fix "render" typo on request specs generated via scaffold As seen on other specs in the same file, the spec should read as: `it "renders a successful response" do` instead of: `it "render a successful response" do` --- lib/generators/rspec/scaffold/templates/request_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/generators/rspec/scaffold/templates/request_spec.rb b/lib/generators/rspec/scaffold/templates/request_spec.rb index 4ce344e764..8b70dd4016 100644 --- a/lib/generators/rspec/scaffold/templates/request_spec.rb +++ b/lib/generators/rspec/scaffold/templates/request_spec.rb @@ -54,7 +54,7 @@ end describe "GET /edit" do - it "render a successful response" do + it "renders a successful response" do <%= file_name %> = <%= class_name %>.create! valid_attributes get <%= edit_helper.tr('@','') %> expect(response).to be_successful