Skip to content

Commit

Permalink
Fix spec setup
Browse files Browse the repository at this point in the history
  • Loading branch information
tomdonarski authored and rafalcymerys committed Nov 1, 2023
1 parent 00ce4d1 commit b8415cd
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 b8415cd

Please sign in to comment.