Skip to content

Commit

Permalink
make a couple of tests fail
Browse files Browse the repository at this point in the history
  • Loading branch information
jagthedrummer committed Dec 10, 2024
1 parent 37cf73b commit 35e807b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions bullet_train-roles/test/lib/models/permit_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions bullet_train/test/models/team_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 35e807b

Please sign in to comment.