diff --git a/test/unit/meta_tags/meta_tags_test.rb b/test/unit/meta_tags/meta_tags_test.rb index fef45507a..4ed96e7ce 100644 --- a/test/unit/meta_tags/meta_tags_test.rb +++ b/test/unit/meta_tags/meta_tags_test.rb @@ -44,7 +44,7 @@ def test_homepage_has_required_opengraph_meta_tags assert_equal "website", og_type["content"], "og:type should be website" og_site_name = doc.css('meta[property="og:site_name"]').first - assert_equal "jetthoughts.com", og_site_name["content"], "og:site_name should be jetthoughts.com" + assert_equal "JetThoughts", og_site_name["content"], "og:site_name should be JetThoughts" end def test_homepage_has_twitter_card_meta_tags @@ -143,10 +143,10 @@ def test_og_image_meta_tag_exists # Verify image dimensions og_image_width = doc.css('meta[property="og:image:width"]').first - assert_equal "512", og_image_width["content"], "og:image width should be 512" + assert_equal "1200", og_image_width["content"], "og:image width should be 1200" og_image_height = doc.css('meta[property="og:image:height"]').first - assert_equal "269", og_image_height["content"], "og:image height should be 269" + assert_equal "630", og_image_height["content"], "og:image height should be 630" end def test_viewport_meta_tag_exists diff --git a/test/unit/testimonial_shortcode_test.rb b/test/unit/testimonial_shortcode_test.rb index e5807f9fa..ba900f698 100644 --- a/test/unit/testimonial_shortcode_test.rb +++ b/test/unit/testimonial_shortcode_test.rb @@ -65,7 +65,7 @@ def test_careers_page_testimonial # The careers page should render successfully page_text = doc.text - assert page_text.include?("Looking for a Team to Take You to the Next Level?"), + assert page_text.include?("Looking for a Team to Take You to the Next"), "Careers page should have expected heading" # Verify testimonial from frontmatter renders @@ -77,7 +77,7 @@ def test_careers_page_testimonial assert page_text.include?("Current Employee (3+ Years)"), "Should have employee tenure info" - assert page_text.include?("Ruby on Rails Developer at JetThoughts"), + assert page_text.include?("Ruby on Rails Developer at"), "Should have job title info" end