diff --git a/app/assets/images/ME_PRO_black.png b/app/assets/images/ME_PRO_black.png new file mode 100644 index 0000000..2fc7bd6 Binary files /dev/null and b/app/assets/images/ME_PRO_black.png differ diff --git a/app/views/accounts/_form.html.erb b/app/views/accounts/_form.html.erb index b95def2..d696b97 100644 --- a/app/views/accounts/_form.html.erb +++ b/app/views/accounts/_form.html.erb @@ -6,7 +6,7 @@ <%= form.email_field :email, class: "form-group" %> <%= form.password_field :password %> <%= form.text_field :account_name, label: 'Account Name' %> - <%= form.select :interested_product_name, options_for_select(["I'm interested in all products", "DirectME", "ReleaseME", "CastME", "EditME", "DeliverME", "ExpenseME"]), { label: "What product are you most interested in?" }, { class: "form-control custom-select" } %> + <%= form.select :interested_product_name, options_for_select(["I'm interested in all products", "ME Suite PRO", "DirectME", "ReleaseME", "CastME", "EditME", "DeliverME", "ExpenseME"]), { label: "What product are you most interested in?" }, { class: "form-control custom-select" } %>
<%= form.submit "Start Free Trial", class: "btn btn-block btn-danger font-weight-bold" %>
diff --git a/app/views/accounts/new.html.erb b/app/views/accounts/new.html.erb index 31eea98..cbeca0e 100644 --- a/app/views/accounts/new.html.erb +++ b/app/views/accounts/new.html.erb @@ -4,6 +4,9 @@

Welcome To <%= suite_wordmark("d-inline-block") %>

Sign up for a 14 Day Free Trial which includes full access to the following products. No credit card required!

+
+
<%= image_tag "ME_PRO_black.png", width: "96.66%" %>
+
<%= image_tag "logo_directme.png", width: "90%" %>
<%= image_tag "logo_releaseme.png", width: "90%" %>
diff --git a/spec/features/guest_account_signup_spec.rb b/spec/features/guest_account_signup_spec.rb index 4e1177a..64e336e 100644 --- a/spec/features/guest_account_signup_spec.rb +++ b/spec/features/guest_account_signup_spec.rb @@ -1,6 +1,13 @@ require "rails_helper" feature "Guest account sign up" do + scenario "guest can select ME Suite PRO in 'interested in' dropdown" do + visit new_account_path + + expect(page).to have_selector("img[src*='ME_PRO_black']") + select "ME Suite PRO", from: interested_in_product_dropdown + end + scenario "creates a new account and signs in successfully" do visit new_account_path @@ -38,4 +45,10 @@ feature "Guest account sign up" do expect(page).to have_content "Sign Up" end + + private + + def interested_in_product_dropdown + "user[interested_product_name]" + end end