diff --git a/app/dashboards/organization_dashboard.rb b/app/dashboards/organization_dashboard.rb index df0e89255..35d5d626b 100644 --- a/app/dashboards/organization_dashboard.rb +++ b/app/dashboards/organization_dashboard.rb @@ -50,6 +50,7 @@ class OrganizationDashboard < Administrate::BaseDashboard created_at updated_at upgraded_business_plan_at + whats_app_more_info_message ].freeze FORM_ATTRIBUTES_EDIT = %i[ diff --git a/spec/system/admin/organizations_spec.rb b/spec/system/admin/organizations_spec.rb index fb249bc8f..3bced946b 100644 --- a/spec/system/admin/organizations_spec.rb +++ b/spec/system/admin/organizations_spec.rb @@ -12,10 +12,12 @@ click_on 'Edit' fill_in 'Name', with: 'Real name' + fill_in 'Whats app more info message', with: 'More info. Unsubscribe?' click_on 'Update Organization' expect(page).to have_text('Organization was successfully updated.') expect(page).to have_text('Show Real name') + expect(page).to have_content('More info. Unsubscribe?') end end end