diff --git a/app/webpacker/images/content/ttalianne.jpg b/app/webpacker/images/content/ttalianne.jpg deleted file mode 100644 index a46587daaf..0000000000 Binary files a/app/webpacker/images/content/ttalianne.jpg and /dev/null differ diff --git a/config/images.yml b/config/images.yml index ce66f8f03f..fb07f25453 100644 --- a/config/images.yml +++ b/config/images.yml @@ -291,10 +291,7 @@ alt: "A physics teacher demonstrating how gravity works by juggling balls at the front of the classroom." variants: - "static/images/content/hero-images/physics_1383-mobile.jpg" - - "static/images/content/hero-images/physics_1383-tablet.jpg" - -"static/images/content/ttalianne.jpg": - alt: "Lianne, an explore teaching adviser" + - "static/images/content/hero-images/physics_1383-tablet.jpg" # blog "static/images/content/blog/abigail-beeley.jpg": diff --git a/spec/helpers/metadata_helper_spec.rb b/spec/helpers/metadata_helper_spec.rb index 796dc1e801..8c5e6669e4 100644 --- a/spec/helpers/metadata_helper_spec.rb +++ b/spec/helpers/metadata_helper_spec.rb @@ -28,17 +28,17 @@ end it "returns image/alt meta tags when given an image_path" do - tags = image_meta_tags(image_path: "static/images/content/ttalianne.jpg") + tags = image_meta_tags(image_path: "static/images/content/blog/fellowship.jpg") expect(tags).to include( <<~HTML.chomp, - + HTML ) expect(tags).to include( <<~HTML.chomp, - + HTML ) end diff --git a/spec/models/image_spec.rb b/spec/models/image_spec.rb index d8700c818e..6517dfd644 100644 --- a/spec/models/image_spec.rb +++ b/spec/models/image_spec.rb @@ -16,10 +16,10 @@ subject { described_class.new.build_args(path) } context "with a valid image path" do - let(:path) { "static/images/content/ttalianne.jpg" } + let(:path) { "static/images/content/blog/fellowship.jpg" } specify "returns the correct image path and alt text" do - expect(subject).to eql([path, { alt: "Lianne, an explore teaching adviser" }]) + expect(subject).to eql([path, { alt: "Teachers Mike and Phil play on a children's climbing frame in a playground" }]) end end @@ -44,10 +44,10 @@ end context "with a valid image path" do - let(:path) { "static/images/content/ttalianne.jpg" } + let(:path) { "static/images/content/blog/fellowship.jpg" } specify "returns the correct image path and alt text" do - expect(subject).to eql("Lianne, an explore teaching adviser") + expect(subject).to eql("Teachers Mike and Phil play on a children's climbing frame in a playground") end end