diff --git a/spec/features/chili/enterprises_distributor_info_rich_text_feature_spec.rb b/spec/features/chili/enterprises_distributor_info_rich_text_feature_spec.rb index a8c6c6c541..4482246878 100644 --- a/spec/features/chili/enterprises_distributor_info_rich_text_feature_spec.rb +++ b/spec/features/chili/enterprises_distributor_info_rich_text_feature_spec.rb @@ -77,7 +77,7 @@ feature "enterprises distributor info as rich text" do # -- Checkout click_button 'Add To Cart' - click_link 'Checkout' + find('#checkout-link').click within 'fieldset#shipping' do page.should have_content 'Chu ge sai yubi dan bisento tobi ashi yubi ge omote.' page.should have_content 'Thursday 2nd May' @@ -121,7 +121,7 @@ feature "enterprises distributor info as rich text" do # -- Checkout click_button 'Add To Cart' - click_link 'Checkout' + find('#checkout-link').click within 'fieldset#shipping' do page.should have_content 'Chu ge sai yubi dan bisento tobi ashi yubi ge omote.' page.should have_content 'Friday 4th May'