Early years
Teacher Status
+ Early Years
Teacher Status
This is to certify that: <%= teacher.name %>
Teacher Reference Number: <%= teacher.trn %>
diff --git a/app/views/qualifications/certificates/_induction.html.erb b/app/views/qualifications/certificates/_induction.html.erb index 65eb7675..e90d0293 100644 --- a/app/views/qualifications/certificates/_induction.html.erb +++ b/app/views/qualifications/certificates/_induction.html.erb @@ -1,7 +1,7 @@
Induction
+Induction
This is to certify that: <%= teacher.name %>
Teacher Reference Number: <%= teacher.trn %>
@@ -11,9 +11,9 @@ institution. The holder of this certificate is a qualified teacher and has obtained the required
qualifications and completed the necessary training for the profession of school teacher in England.
-
Date Induction Completed: <%= qualification.awarded_at.to_fs(:long_uk) %>
+Date Induction Completed: <%= qualification.details.periods.first.end_date.to_date.to_fs(:long_uk) %>
Congratulations and best wishes for your future career.
-
Any potential employer can independently confirm your teacher status online at:
https://teacherservices.education.gov.uk
Any potential employer can independently confirm your teacher status online at:
https://www.gov.uk/guidance/check-a-teachers-record
This is to certify that:
-<%= teacher.name %>
+<%= teacher.name %>
has been awarded the
diff --git a/app/views/qualifications/certificates/_qts.html.erb b/app/views/qualifications/certificates/_qts.html.erb
index fee2966e..11fb0002 100644
--- a/app/views/qualifications/certificates/_qts.html.erb
+++ b/app/views/qualifications/certificates/_qts.html.erb
@@ -1,7 +1,7 @@
- Qualified
Teacher Status
+ Qualified
Teacher Status
This is to certify that: <%= teacher.name %>
Teacher Reference Number: <%= teacher.trn %>
@@ -19,5 +19,5 @@
Congratulations and best wishes for your future career
- Any potential employer can independently confirm your teacher status online at:
https://teacherservices.education.gov.uk
+ Any potential employer can independently confirm your teacher status online at:
https://www.gov.uk/guidance/check-a-teachers-record
diff --git a/config/database.yml b/config/database.yml
index 508fa0d6..8448bb56 100644
--- a/config/database.yml
+++ b/config/database.yml
@@ -1,7 +1,7 @@
default: &default
adapter: postgresql
encoding: unicode
- url: <%= ENV.fetch('DATABASE_URL', 'postgres://postgres@localhost:5432') %>
+ url: <%= ENV.fetch('DATABASE_URL', 'postgres://postgres@localhost:5434') %>
development:
<<: *default
diff --git a/config/initializers/grover.rb b/config/initializers/grover.rb
index d9777f62..96f12806 100644
--- a/config/initializers/grover.rb
+++ b/config/initializers/grover.rb
@@ -6,7 +6,8 @@
bottom: "0",
left: "0",
right: "0"
- }
+ },
+ launch_args: ["--no-sandbox", "--disable-setuid-sandbox"],
}
config.use_jpeg_middleware = false
config.use_png_middleware = false
diff --git a/public/eyts-certificate.jpg b/public/eyts-certificate.jpg
index 33c4ccc6..ea682813 100644
Binary files a/public/eyts-certificate.jpg and b/public/eyts-certificate.jpg differ
diff --git a/public/induction-certificate.jpg b/public/induction-certificate.jpg
index 0411a252..7554d482 100644
Binary files a/public/induction-certificate.jpg and b/public/induction-certificate.jpg differ
diff --git a/public/npq-certificate.jpg b/public/npq-certificate.jpg
index 6cd64617..20e0b191 100644
Binary files a/public/npq-certificate.jpg and b/public/npq-certificate.jpg differ
diff --git a/public/qts-certificate.jpg b/public/qts-certificate.jpg
index 458038f6..2b464323 100644
Binary files a/public/qts-certificate.jpg and b/public/qts-certificate.jpg differ
diff --git a/spec/components/induction_summary_component_spec.rb b/spec/components/induction_summary_component_spec.rb
index daef2c2e..0f62eb13 100644
--- a/spec/components/induction_summary_component_spec.rb
+++ b/spec/components/induction_summary_component_spec.rb
@@ -57,17 +57,5 @@
expect(rendered.css(".govuk-summary-list__key").map(&:text)).not_to include("Completed")
expect(rendered.css(".govuk-summary-list__key").map(&:text)).not_to include("End date")
end
-
- context "when the certificate URL is missing" do
- let(:induction) do
- fake_quals_data.fetch("induction").tap do |data|
- data.delete(:certificate_url)
- end
- end
-
- it "does not render the certificate row when certificate URL is missing" do
- expect(rendered.css(".govuk-summary-list__key").map(&:text)).not_to include("Certificate")
- end
- end
end
end
diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb
index f6f4a6ed..e7e7e32f 100644
--- a/spec/rails_helper.rb
+++ b/spec/rails_helper.rb
@@ -17,7 +17,7 @@
WebMock.disable_net_connect!(allow_localhost: true)
Capybara.register_driver(:cuprite) do |app|
- Capybara::Cuprite::Driver.new(app, timeout: 30, process_timeout: 40, window_size: [1200, 800])
+ Capybara::Cuprite::Driver.new(app, timeout: 200, process_timeout: 120, window_size: [1200, 800])
end
Capybara.default_driver = :cuprite
Capybara.javascript_driver = :cuprite
Qualified
Teacher Status
+ Qualified
Teacher Status
This is to certify that: <%= teacher.name %>
Teacher Reference Number: <%= teacher.trn %>
@@ -19,5 +19,5 @@
Congratulations and best wishes for your future career
-
Any potential employer can independently confirm your teacher status online at:
https://teacherservices.education.gov.uk
Any potential employer can independently confirm your teacher status online at:
https://www.gov.uk/guidance/check-a-teachers-record