show page for pages (a start)
This commit is contained in:
@ -7,11 +7,17 @@ RSpec.feature "Pages", type: :feature do
|
||||
expect(page).to have_title("Dummy")
|
||||
expect(page).to have_text("Pages")
|
||||
end
|
||||
end
|
||||
describe "index page" do
|
||||
it "returns http success" do
|
||||
|
||||
it "has an index page" do
|
||||
visit "/merged/pages"
|
||||
click_on ("index")
|
||||
end
|
||||
|
||||
it "edit page works " do
|
||||
visit "/merged/pages"
|
||||
within("#index") do
|
||||
click_on ("Edit")
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user