diff --git a/app/controllers/email_templates_controller.rb b/app/controllers/email_templates_controller.rb index 45f63b99..76a78b65 100644 --- a/app/controllers/email_templates_controller.rb +++ b/app/controllers/email_templates_controller.rb @@ -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 diff --git a/features/teacher_info_request.feature b/features/teacher_info_request.feature index 367d60a4..ca698981 100644 --- a/features/teacher_info_request.feature +++ b/features/teacher_info_request.feature @@ -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