Skip to content
This repository has been archived by the owner on Dec 28, 2023. It is now read-only.

Commit

Permalink
Remove duplicate tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Douglas Lutz committed Mar 6, 2020
1 parent e1ba089 commit b6cc8aa
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions spec/models/ability_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@
describe 'abilities admin' do
let(:ability_admin) { Ability.new(admin_user) }

it "can't delete punch" do
expect(ability_admin).to_not be_able_to :destroy, Punch.new
end

it "can't delete Company" do
expect(ability_admin).to_not be_able_to :destroy, Company.new
end
Expand All @@ -33,10 +29,6 @@
it "can't manage Company" do
expect(ability_admin).to_not be_able_to :manage, Company.new
end

it "can't destroy Projects" do
expect(ability_admin).to_not be_able_to :destroy, Project.new
end
end

describe 'abilities super admin' do
Expand Down

0 comments on commit b6cc8aa

Please sign in to comment.