From 371cc929cd8832f2a45ef75d7ed8db3e6ea3ed7c Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Wed, 4 Nov 2015 18:14:13 -0500 Subject: [PATCH] Fix variable names in the prune tests. --- test/test_prune.rb | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/test/test_prune.rb b/test/test_prune.rb index a0e6941..d32fcae 100644 --- a/test/test_prune.rb +++ b/test/test_prune.rb @@ -32,18 +32,18 @@ class TestPrune < MailshearsTest # Now make sure the database has what we expect. - arm = AgendavPrune.new(cfg) - actual = arm.list_users() + apr = AgendavPrune.new(cfg) + actual = apr.list_users() expected = [User.new('adam@example.net')] assert_equal(expected, actual) - drm = DavicalPrune.new(cfg) - actual = drm.list_users() + dpr = DavicalPrune.new(cfg) + actual = dpr.list_users() expected = [User.new('alice@example.com')] assert_equal(expected, actual) - pfarm = PostfixadminPrune.new(cfg) - actual = pfarm.list_users() + pfapr = PostfixadminPrune.new(cfg) + actual = pfapr.list_users() expected = [User.new('alice@example.com'), User.new('bob@example.com'), User.new('adam@example.net'), @@ -51,11 +51,11 @@ class TestPrune < MailshearsTest User.new('carol@example.net')] assert_equal(expected, actual) - actual = pfarm.list_domains() + actual = pfapr.list_domains() expected = [Domain.new('example.com'), Domain.new('example.net')] assert_equal(expected, actual) - actual = pfarm.list_aliases() + actual = pfapr.list_aliases() expected = [{'address' => 'alice@example.com', 'goto' => 'alice@example.com'}, {'address' => 'bob@example.com', @@ -68,8 +68,8 @@ class TestPrune < MailshearsTest 'goto' => 'carol@example.net'}] assert_equal(expected, actual) - rrm = RoundcubePrune.new(cfg) - actual = rrm.list_users() + rpr = RoundcubePrune.new(cfg) + actual = rpr.list_users() expected = [User.new('alice@example.com'), User.new('adam@example.net')] assert_equal(expected, actual) -- 2.44.2