Browse Source

Maintenance: Mobile - Fix failing test

Vladimir Sheremet 2 years ago
parent
commit
32d84a82b8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      spec/system/apps/mobile/home_spec.rb

+ 1 - 1
spec/system/apps/mobile/home_spec.rb

@@ -26,7 +26,7 @@ RSpec.describe 'Mobile > App Home Page', type: :system, app: :mobile do
     end
 
     it 'footer has my avatar' do
-      me = find('a[href="/user"]')
+      me = find('a[href="/mobile/account"]')
       firstname = admin.firstname.first
       lastname = admin.lastname.first
       expect(me.text).to match("#{firstname}#{lastname}")