diff --git a/config/locales/en.yml b/config/locales/en.yml index 005dc5a09d..4a1d3d292c 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -1282,22 +1282,26 @@ en: connected_apps: legend: "Connected apps" title: "Discover Regenerative" - tagline: "Allow website to publish your enterprise information." - enable: "Share data" - disable: "Disconnect" + tagline: "Allow Discover Regenerative to publish your enterprise information." + enable: "Allow data sharing" + disable: "Stop sharing" loading: "Loading" note: | - In order for this enterprise to be published, you need to include - regenerative details and accept the Terms and Conditions. - link_label: "Update details" + Your Open Food Network account is connected to Discover Regenerative. + Add or update information on your Discover Regenerative listing here. + link_label: "Manage listing" description_html: |
- Discover Regenerative makes it easier for buyers to discover - regenerative produce for their procurement, showcase producers that - are using regenerative farming practices, support connection - between buyers and producers within a trusted network. + Eligible producers can showcase their regenerative credentials, + farming practices and more through a profile listing. + Simplifying how buyers can find regenerative produce and connect + with producers of interest. +
+ - actions: edit_profile: Settings properties: Properties diff --git a/spec/system/admin/enterprises/connected_apps_spec.rb b/spec/system/admin/enterprises/connected_apps_spec.rb index a659a70863..2b61f6466f 100644 --- a/spec/system/admin/enterprises/connected_apps_spec.rb +++ b/spec/system/admin/enterprises/connected_apps_spec.rb @@ -35,19 +35,19 @@ describe "Connected Apps", feature: :connected_apps, vcr: true do click_link "Connected apps" expect(page).to have_content "Discover Regenerative" - click_button "Share data" - expect(page).to_not have_button "Share data" + click_button "Allow data sharing" + expect(page).to_not have_button "Allow data sharing" expect(page).to have_button "Loading", disabled: true perform_enqueued_jobs(only: ConnectAppJob) expect(page).to_not have_button "Loading", disabled: true - expect(page).to have_content "include regenerative details" - expect(page).to have_link "Update details" + expect(page).to have_content "account is connected" + expect(page).to have_link "Manage listing" - click_button "Disconnect" - expect(page).to have_button "Share data" - expect(page).to_not have_button "Disconnect" - expect(page).to_not have_content "include regenerative details" - expect(page).to_not have_link "Update details" + click_button "Stop sharing" + expect(page).to have_button "Allow data sharing" + expect(page).to_not have_button "Stop sharing" + expect(page).to_not have_content "account is connected" + expect(page).to_not have_link "Manage listing" end end