diff --git a/bullet_train-roles/test/lib/models/permit_test.rb b/bullet_train-roles/test/lib/models/permit_test.rb index 15f19fd8c..489e02983 100644 --- a/bullet_train-roles/test/lib/models/permit_test.rb +++ b/bullet_train-roles/test/lib/models/permit_test.rb @@ -19,6 +19,7 @@ class ClassMethodsTest < ActiveSupport::TestCase can_count = @admin_ability.permissions[:can].count @admin_ability.assign_permissions(permissions) assert_equal @admin_ability.permissions[:can].count, can_count + 1 + assert_equal @admin_ability.permissions[:can].count, 10 end test "Permit#build_permissions returns an array of Hashes" do diff --git a/bullet_train/test/models/team_test.rb b/bullet_train/test/models/team_test.rb index a053f0ff7..6c09e951e 100644 --- a/bullet_train/test/models/team_test.rb +++ b/bullet_train/test/models/team_test.rb @@ -3,6 +3,7 @@ class TeamTest < ActiveSupport::TestCase test "a new team defaults time_zone to UTC" do team = Team.new + team.do_fake_thing assert_equal "UTC", team.time_zone end