Moves/Updates general_settings_spec into system

This commit is contained in:
filipefurtad0
2021-10-12 14:44:55 +01:00
parent e50eefd1c9
commit 9a649574a6

View File

@@ -1,6 +1,6 @@
# frozen_string_literal: true
require 'spec_helper'
require 'system_helper'
describe "General Settings" do
include AuthenticationHelper
@@ -34,7 +34,7 @@ describe "General Settings" do
context 'editing currency symbol position' do
it 'updates its position' do
expect(page).to have_content('Currency Settings')
expect(page).to have_content('CURRENCY SETTINGS')
within('.currency') do
find("[for='currency_symbol_position_after']").click