Skip to content

Commit

Permalink
Fix spec setup
Browse files Browse the repository at this point in the history
  • Loading branch information
tomdonarski committed Oct 30, 2023
1 parent f720bba commit a763ae2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/models/spree/admin/actions/root_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
module Spree
module Admin
describe Actions::Root, type: :model do
let(:root) { described_class.new }
let(:class_under_test) { described_class.new }
let(:items) { [] }

before do
items.each { |i| root.add(i) }
items.each { |i| class_under_test.add(i) }
end

it_behaves_like 'implements item manipulation and query methods'
Expand Down

0 comments on commit a763ae2

Please sign in to comment.