Skip to content

Commit

Permalink
update rspec
Browse files Browse the repository at this point in the history
  • Loading branch information
jubilee2 authored and pablobm committed Sep 5, 2022
1 parent 49e3823 commit b9fb21c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion spec/features/edit_page_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@
customer = create(:customer, kind: :standard)

visit edit_admin_customer_path(customer)
select "vip", from: "Kind"

find(".selectize-input #customer_kind-selectized").click
find(:xpath, "//div[@data-selectable and contains(., 'vip')]").click

click_on "Update Customer"

expect(page).to have_text("KIND")
Expand Down

0 comments on commit b9fb21c

Please sign in to comment.