diff --git a/spec/features/consumer/shopping/products_spec.rb b/spec/features/consumer/shopping/products_spec.rb index 5872e4c3a2..6282d0ba31 100644 --- a/spec/features/consumer/shopping/products_spec.rb +++ b/spec/features/consumer/shopping/products_spec.rb @@ -37,7 +37,7 @@ feature "As a consumer I want to view products", js: true do modal_should_be_open_for product within(".reveal-modal") do - html.should include("

Formatted product description.

") + expect(html).to include("

Formatted product description.

") end end @@ -53,8 +53,8 @@ feature "As a consumer I want to view products", js: true do modal_should_be_open_for product within(".reveal-modal") do - html.should include("

Safe

") - html.should_not include("") + expect(html).to include("

Safe

") + expect(html).not_to include("") end end end