From 0b614eb97a6cb760cdfa16d00302831d31e6cd54 Mon Sep 17 00:00:00 2001 From: emmaachesongray <168454683+emmaachesongray@users.noreply.github.com> Date: Wed, 4 Dec 2024 15:17:02 +0000 Subject: [PATCH 1/2] update content and spec test --- .../teaching_events/about_git_events.html.erb | 16 +++++++++------- spec/requests/teaching_events_spec.rb | 2 +- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/app/views/teaching_events/about_git_events.html.erb b/app/views/teaching_events/about_git_events.html.erb index 1b1a77f5b8..236fe656e6 100644 --- a/app/views/teaching_events/about_git_events.html.erb +++ b/app/views/teaching_events/about_git_events.html.erb @@ -69,26 +69,28 @@ <% else %>
-

We do not have any Get Into Teaching events open for registration right now. We'll update this page with new Get Into Teaching events soon.

-
- -
-

In the meantime, take a look at <%= link_to("teacher training provider events", events_path({ teaching_events_search: { type: ["provider"] }}), class: "link--black") %> in your area or online.

+

Our spring events are coming soon to Newcastle, Norwich, Sheffield, Manchester, Nottingham, Birmingham, London, Bristol, and Brighton.

+

We'll update this page with more details in January.

Get event updates and advice in your inbox

-

Get a better idea if teaching is right for you with regular information on:

+

Be the first to know about new events near you, and get a better idea if teaching is right for you with regular information on:

<%= link_to("Get event updates and advice in your inbox", mailing_list_steps_path, class: "link--black") %>.

+ +
+

Find events from teacher training providers

+

You may also be interested in events organised by teacher training providers. Take a look at <%= link_to("teacher training provider events", events_path({ teaching_events_search: { type: ["provider"] }}), class: "link--black") %> in your area or online.

+
+ <% end %> diff --git a/spec/requests/teaching_events_spec.rb b/spec/requests/teaching_events_spec.rb index c9a1255b16..ff7ef13889 100644 --- a/spec/requests/teaching_events_spec.rb +++ b/spec/requests/teaching_events_spec.rb @@ -101,7 +101,7 @@ context "when there are no GiT events" do let(:events) { [] } - it { is_expected.to include("We do not have any Get Into Teaching events open for registration right now.") } + it { is_expected.to include("Our spring events are coming soon to Newcastle, Norwich, Sheffield, Manchester, Nottingham, Birmingham, London, Bristol, and Brighton.") } end end From b71addfceb1821cbcba01093b6d7a1b95ed088b9 Mon Sep 17 00:00:00 2001 From: emmaachesongray <168454683+emmaachesongray@users.noreply.github.com> Date: Wed, 4 Dec 2024 15:31:53 +0000 Subject: [PATCH 2/2] linting --- app/views/teaching_events/about_git_events.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/teaching_events/about_git_events.html.erb b/app/views/teaching_events/about_git_events.html.erb index 236fe656e6..52c6323319 100644 --- a/app/views/teaching_events/about_git_events.html.erb +++ b/app/views/teaching_events/about_git_events.html.erb @@ -85,7 +85,7 @@

<%= link_to("Get event updates and advice in your inbox", mailing_list_steps_path, class: "link--black") %>.

- +

Find events from teacher training providers

You may also be interested in events organised by teacher training providers. Take a look at <%= link_to("teacher training provider events", events_path({ teaching_events_search: { type: ["provider"] }}), class: "link--black") %> in your area or online.