Skip to content

Commit

Permalink
fixed another myterious cucumber test bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ArushC committed Apr 12, 2024
1 parent 66eb04c commit 6e46e5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/controllers/email_templates_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def update
flash[:success] = "Updated #{@email_template.title} template successfully."
redirect_to email_templates_path
else
flash.now[:alert] = "An error occured: #{@email_template.errors.full_messages.join(", ")}"
flash.now[:alert] = "An error occurred: #{@email_template.errors.full_messages.join(", ")}"
render "edit"
end
end
Expand Down
2 changes: 1 addition & 1 deletion features/teacher_info_request.feature
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Feature: Request additional information for teacher application
And I should see "Request Info from Joseph Mamoa"
And I fill in "request_reason" with "Please provide more details on your teaching experience"
And I press "Submit"
Then I can send a request info email
Then I send a request info email
And I follow "Logout"

Given I am on the BJC home page
Expand Down

0 comments on commit 6e46e5c

Please sign in to comment.