Skip to content

Commit 749aefa

Browse files
Removes unused .tr call in edit_helper
1 parent 5468bee commit 749aefa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/generators/rspec/scaffold/templates/request_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
describe "GET /edit" do
5757
it "renders a successful response" do
5858
<%= file_name %> = <%= class_name %>.create! valid_attributes
59-
get <%= edit_helper.tr('@','') %>
59+
get <%= edit_helper %>
6060
expect(response).to be_successful
6161
end
6262
end

0 commit comments

Comments
 (0)