Skip to content

Commit

Permalink
Avoid requiring bar_ability.rb in ability_spec
Browse files Browse the repository at this point in the history
It is deprecated and now unused
  • Loading branch information
kennyadsl committed Nov 25, 2020
1 parent dd02ab2 commit 9964f4a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions core/spec/models/spree/ability_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@
require 'cancan/matchers'
require 'spree/testing_support/ability_helpers'

Spree::Deprecation.silence do
require 'spree/testing_support/bar_ability'
end

RSpec.describe Spree::Ability, type: :model do
let(:user) { build(:user) }
let(:ability) { Spree::Ability.new(user) }
Expand Down

0 comments on commit 9964f4a

Please sign in to comment.