diff --git a/test/emails_test.rb b/test/emails_test.rb index 7b90b1d..43a765a 100644 --- a/test/emails_test.rb +++ b/test/emails_test.rb @@ -127,8 +127,7 @@ def startup should "perform a spam analysis on an email" do target_id = @@emails[0].id result = @@client.analysis.spam(target_id) - assert_equal(target_id, result.email_id) - + result.spam_filter_results.spam_assassin.each do |rule| assert_instance_of(Float, rule.score) assert_not_nil(rule.rule)