Replaces 'background' with 'before' (squashing)

Replaces 'background' with 'before'

Replaces 'background' with 'before' in other files

Fixes typo on products_spec.rb
This commit is contained in:
filipefurtad0
2021-09-28 10:36:01 +01:00
parent 6f694e2cab
commit 81890a4e21
4 changed files with 7 additions and 5 deletions

View File

@@ -8,7 +8,7 @@ describe 'Multilingual', js: true do
let(:admin_role) { Spree::Role.find_or_create_by!(name: 'admin') }
let(:admin_user) { create(:user) }
background do
before do
admin_user.spree_roles << admin_role
login_as admin_user
visit spree.admin_dashboard_path