Sha256: 50a613bc9187d75641403c6370ad699b0d28955099e1d479f833b010e624261f
Contents?: true
Size: 495 Bytes
Versions: 46
Compression:
Stored size: 495 Bytes
Contents
# frozen_string_literal: true shared_examples "going back to list button" do it "shows the back button" do expect(page).to have_link(href: main_component_path(component) + manifest_name) end context "when clicking the back button" do before do click_link(href: main_component_path(component) + manifest_name) end it "redirect the user to component index" do expect(page).to have_current_path(main_component_path(component) + manifest_name) end end end
Version data entries
46 entries across 46 versions & 1 rubygems