fix tests

This commit is contained in:
r888888888
2017-04-04 12:25:03 -07:00
parent 347ffb5989
commit 0b8d4105aa
19 changed files with 111 additions and 162 deletions

View File

@@ -17,7 +17,7 @@ class JanitorTrialTest < ActiveSupport::TestCase
context "upon creation" do
should "create a dmail when testing a new janitor" do
assert_difference("Dmail.count", 4) do
assert_difference("Dmail.count", 2) do
JanitorTrial.create(:user_id => @user.id)
end
end