Skip to content

Commit

Permalink
Fix "render" typo on request specs generated via scaffold
Browse files Browse the repository at this point in the history
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`
  • Loading branch information
lmatiolis committed Apr 1, 2021
1 parent 2957838 commit 636e72a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/generators/rspec/scaffold/templates/request_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 636e72a

Please # to comment.