Skip to content

Commit

Permalink
test abuse_mailbox
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Sep 25, 2012
1 parent 84ff823 commit 55d7d43
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions t/120-Role.t
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,11 @@ is_deeply( $object->changed(), ['xxx@somewhere.com 20121016'], 'changed properly
$object->changed('Added changed');
is( $object->changed()->[1], 'Added changed', 'changed properly added' );

# Test 'abuse_mailbox'
$tested{'abuse_mailbox'}++;
$object->abuse_mailbox('foo@example.com');
is($object->abuse_mailbox->[0], 'foo@example.com', 'abuse_mailbox');

# Test 'source'
$tested{'source'}++;
is( $object->source(), 'RIPE # Filtered', 'source properly parsed' );
Expand Down

0 comments on commit 55d7d43

Please sign in to comment.