Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions test/unit/meta_tags/meta_tags_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions test/unit/testimonial_shortcode_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down
Loading