From 0a8ca97683f35d10188b0073077116148d5c18fe Mon Sep 17 00:00:00 2001 From: Jon M Date: Fri, 15 Sep 2023 19:57:11 +0100 Subject: [PATCH] Fix method typo --- test/previews_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/previews_test.rb b/test/previews_test.rb index fdad690..a3c1a78 100644 --- a/test/previews_test.rb +++ b/test/previews_test.rb @@ -26,7 +26,7 @@ def startup end context 'generate previews' do - should 'reply with attachment' do + should 'generate email previews' do omit_if(@@server.nil?) random_string = (0...10).map { rand(65..90).chr }.join @@ -44,7 +44,7 @@ def startup result = @@client.messages.generate_previews(email.id, options) - assert_false(result.items.empty) + assert_false(result.items.empty?) # Ensure we can download one of the generated preview file = @@client.files.get_preview(result.items[0].id)