Skip to content

Commit

Permalink
Remove redundant check for email id
Browse files Browse the repository at this point in the history
  • Loading branch information
jm-mailosaur committed Feb 21, 2018
1 parent 6e1339e commit 144e1bc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/emails_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 144e1bc

Please sign in to comment.