diff --git a/config/locales/en.yml b/config/locales/en.yml index 005df217cd..fb0a50dba1 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -748,7 +748,7 @@ en: email_confirmed: "Email confirmed" email_not_confirmed: "Email not confirmed" actions: - edit_profile: Edit Profile + edit_profile: Settings properties: Properties payment_methods: Payment Methods payment_methods_tip: This enterprise has no payment methods diff --git a/spec/features/admin/enterprises/index_spec.rb b/spec/features/admin/enterprises/index_spec.rb index f8f1a5f263..83ddaaa102 100644 --- a/spec/features/admin/enterprises/index_spec.rb +++ b/spec/features/admin/enterprises/index_spec.rb @@ -15,7 +15,7 @@ feature 'Enterprises Index' do within("tr.enterprise-#{s.id}") do expect(page).to have_content s.name expect(page).to have_select "enterprise_set_collection_attributes_1_sells" - expect(page).to have_content "Edit Profile" + expect(page).to have_content "Settings" expect(page).to have_content "Delete" expect(page).to_not have_content "Payment Methods" expect(page).to_not have_content "Shipping Methods" @@ -25,7 +25,7 @@ feature 'Enterprises Index' do within("tr.enterprise-#{d.id}") do expect(page).to have_content d.name expect(page).to have_select "enterprise_set_collection_attributes_0_sells" - expect(page).to have_content "Edit Profile" + expect(page).to have_content "Settings" expect(page).to have_content "Delete" expect(page).to have_content "Payment Methods" expect(page).to have_content "Shipping Methods" diff --git a/spec/features/admin/enterprises_spec.rb b/spec/features/admin/enterprises_spec.rb index c3d559b57f..bdbb7cde16 100644 --- a/spec/features/admin/enterprises_spec.rb +++ b/spec/features/admin/enterprises_spec.rb @@ -77,7 +77,7 @@ feature %q{ visit '/admin/enterprises' within "tr.enterprise-#{@enterprise.id}" do - first("a", text: 'Edit Profile').trigger 'click' + first("a", text: 'Settings').trigger 'click' end fill_in 'enterprise_name', :with => 'Eaterprises'