Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
cguess committed Dec 3, 2024
1 parent 51ed946 commit 9925c81
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions test/post_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -532,4 +532,19 @@ def test_a_reel_with_text_works
assert !post.text.blank?
end
end

def test_another_reel_with_text_works
posts = Forki::Post.lookup("https://www.facebook.com/share/v/1EZyn6Aoht/")
assert_not_nil(posts)

posts.each do |post|
post.video_files.each do |image|
assert File.size(image) > 1000
end

assert File.size(post.user.profile_image_file) > 1000
assert_not_nil(post.created_at)
assert !post.text.blank?
end
end
end

0 comments on commit 9925c81

Please sign in to comment.