Skip to content

Commit

Permalink
Remove empty policy tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
simi committed Aug 31, 2024
1 parent 10a0fac commit 83bd55e
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 141 deletions.
18 changes: 0 additions & 18 deletions test/policies/admin/audit_policy_test.rb

This file was deleted.

18 changes: 0 additions & 18 deletions test/policies/admin/dependency_policy_test.rb

This file was deleted.

18 changes: 0 additions & 18 deletions test/policies/admin/events/rubygem_event_policy_test.rb

This file was deleted.

18 changes: 0 additions & 18 deletions test/policies/admin/events/user_event_policy_test.rb

This file was deleted.

18 changes: 0 additions & 18 deletions test/policies/admin/gem_download_policy_test.rb

This file was deleted.

18 changes: 0 additions & 18 deletions test/policies/admin/ip_address_policy_test.rb

This file was deleted.

15 changes: 0 additions & 15 deletions test/policies/admin/user_policy_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,6 @@ class Admin::UserPolicyTest < AdminPolicyTestCase
@non_admin = FactoryBot.create(:admin_github_user)
end

def test_scope
end

def test_show
end

def test_create
end

def test_update
end

def test_destroy
end

def test_search
assert_authorizes @admin, @user, :avo_search?
refute_authorizes @non_admin, @user, :avo_search?
Expand Down
18 changes: 0 additions & 18 deletions test/policies/admin/version_policy_test.rb

This file was deleted.

0 comments on commit 83bd55e

Please sign in to comment.