fix tests

This commit is contained in:
r888888888
2016-01-18 17:13:26 -08:00
parent 243368a758
commit ce3af81c9f
11 changed files with 37 additions and 20 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", 2) do
assert_difference("Dmail.count", 4) do
JanitorTrial.create(:user_id => @user.id)
end
end